[JDEV] japanese characters in yahoo transport
Tetsuto SHIMOMURA
tact at klab.org
Tue Jul 3 04:10:26 CDT 2001
Hi Martin,
On Tue, 3 Jul 2001 16:38:05 +0900
"Martin Shadbolt" <martin at imahima.com> wrote:
> Hi Tetsuto Shimomura,
>
> The modified Yahoo transport are you still looking into fixing the problem
> to make the
> transport operational again ?.
Yes.
I found the reason why yahoo-j trasport works wrong.
Formerly, WinJab and JIM have sent messages using SHIFT-JIS encoding
on Windows 2000 Japanese version. So, we were able to speak to
Yahoo! Japan clients.
But latest clients send messages using UTF-8 encoding.
Now we must convert SHIFT-JIS and UTF-8 in yahoo-j transport.
If you can understand Japanese, please see http://jabber.jp/
(Japanese only yet, sorry)
> I am setting up a jabber server and would be interested to install the
> yahoo-j transport. Is it available for general use ?
I put a quick-hacked patch at
http://jabber.jp/yahoo-transport-jp/yahoo-transport-jp-0.8.1-1.4.patch
I hope it is userful.
This patch is for yahoo-transport-0.8.1-1.4.
The essential point is following:
diff -rc yahoo-transport-jp-0.8.1-1.4/src/yahoolib.c yahoo-transport-0.8.1-1.4/src/yahoolib.c
*** yahoo-transport-jp-0.8.1-1.4/src/yahoolib.c Tue Jun 19 19:09:28 2001
--- yahoo-transport-0.8.1-1.4/src/yahoolib.c Tue Jun 19 18:35:44 2001
***************
*** 82,103 ****
void SOCKSinit(char *argv0);
#endif
- #define YAHOO_JAPAN
-
- #if defined(YAHOO_JAPAN)
- /* pager server host */
- #define YAHOO_PAGER_HOST "cs.yahoo.co.jp"
- #define YAHOO_PAGER_PORT 5050
- /* pager server host for http connections */
- #define YAHOO_PAGER_HTTP_HOST "pager.yahoo.co.jp"
- #define YAHOO_PAGER_HTTP_PORT 80
- /* authentication/login host */
- #define YAHOO_AUTH_HOST "edit.my.yahoo.co.jp"
- #define YAHOO_AUTH_PORT 80
- /* buddy/identity/config host */
- #define YAHOO_DATA_HOST YAHOO_AUTH_HOST
- #define YAHOO_DATA_PORT 80
- #else
/* pager server host */
#define YAHOO_PAGER_HOST "cs.yahoo.com"
#define YAHOO_PAGER_PORT 5050
--- 82,87 ----
***************
*** 110,116 ****
/* buddy/identity/config host */
#define YAHOO_DATA_HOST YAHOO_AUTH_HOST
#define YAHOO_DATA_PORT 80
- #endif
/* User agent to use for HTTP connections */
/* It needs to have Mozilla/4 in it, otherwise it fails */
--- 94,99 ----
Thanks,
-----
Tetsuto SHIMOMURA <tact at klab.org>
jabber: tact at jabber.jp
More information about the JDev
mailing list