aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/protocol/yahoo/AdHocChatRoomYahooImpl.java
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2010-01-19 14:15:48 +0000
committerDamian Minkov <damencho@jitsi.org>2010-01-19 14:15:48 +0000
commitf5b07c310b1fa0b76b94468d86486516f5affa0f (patch)
treecf79ba920a9942d7f75b3ac4e8112c4a55a98f78 /src/net/java/sip/communicator/impl/protocol/yahoo/AdHocChatRoomYahooImpl.java
parent6cbb790186a14366108d8bd7d039fd4a4b0856ed (diff)
downloadjitsi-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.java2
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);
}