diff options
author | Damian Minkov <damencho@jitsi.org> | 2010-01-19 14:15:48 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2010-01-19 14:15:48 +0000 |
commit | f5b07c310b1fa0b76b94468d86486516f5affa0f (patch) | |
tree | cf79ba920a9942d7f75b3ac4e8112c4a55a98f78 /src/net/java/sip/communicator/impl/protocol/yahoo/AdHocChatRoomYahooImpl.java | |
parent | 6cbb790186a14366108d8bd7d039fd4a4b0856ed (diff) | |
download | jitsi-f5b07c310b1fa0b76b94468d86486516f5affa0f.zip jitsi-f5b07c310b1fa0b76b94468d86486516f5affa0f.tar.gz jitsi-f5b07c310b1fa0b76b94468d86486516f5affa0f.tar.bz2 |
Yahoo use utf-8 when manipulate message bytes.
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/yahoo/AdHocChatRoomYahooImpl.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/yahoo/AdHocChatRoomYahooImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/yahoo/AdHocChatRoomYahooImpl.java b/src/net/java/sip/communicator/impl/protocol/yahoo/AdHocChatRoomYahooImpl.java index 7406b78..f797af2 100644 --- a/src/net/java/sip/communicator/impl/protocol/yahoo/AdHocChatRoomYahooImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/yahoo/AdHocChatRoomYahooImpl.java @@ -162,7 +162,7 @@ public class AdHocChatRoomYahooImpl public Message createMessage(byte[] content, String contentType, String contentEncoding, String subject) { - return new MessageYahooImpl(new String(content), contentType, + return new MessageYahooImpl(new String(content, "UTF-8"), contentType, contentEncoding, subject); } |