Re: Localization bug (#703449)
"Florin T.PATRASCU" <[email protected]> Mon, 21 Jul 2003 22:37:53 -0400
| Newsgroups | gmane.comp.java.jpublish.devel |
|---|---|
| Message-ID | <5.2.1.1.2.20030721223504.01e2d930@POP> |
Hi Mark, Using your jpublish.xml excerpt, the only thing I did was to add this line to my template: <META content="text/html; charset=euc-jp" http-equiv=Content-Type> And it seems I can properly display the page :) Let me know if this small fix works for you. Regards, -Florin At 7/21/2003 21:54, you wrote: >Hi. > >I'm new to JPublish. I have just browsed the archive of this mailing >list and found there would be a bug regarding localization, which is >described on sourceforge.net, >http://sourceforge.net/tracker/index.php?func=detail&aid=703449&group_id=26450&atid=387273 > >I've just tried both JPublish 1.0b1 and JPublish 2.0. JPublish 1.0b had >no problem with localization, but JPublish-2.0 doesn't look like ><page-encoding> and <template-encoding> tags are working correctly. > >Here is what I did... > >1) I wrote a simple template.html (EUC-JP encoded) >Kon-nichiwa(in Japanse, off course) $fs_repository.get($page.Path) 2) Also >I prepared simple index.html (EUC-JP encoded) Sayonara (in Japanese, also) >3) jpublish.xml is like this euc-jp euc-jp euc-jp euc-jp 4) I dumped the >output of w3m browser, like w3m http://localhost:8081/jpublish-example/|od >-x When I used JPublish-1.0b1, the output was like this; 0000000 b3a4 f3a4 >cba4 c1a4 cfa4 0a0a b5a4 e8a4 0000020 a6a4 caa4 e9a4 0a0a However, >JPublish-2.0 outputs this; 0000000 3f3f 3f3f 3f3f 3f3f 3f3f 0a0a 3f3f 3f3f >0000020 0a3f 000a As you can see, those don't match. Mark Nakamura >------------------------------------------------------- This SF.net email >is sponsored by: VM Ware With VMware you can run multiple operating >systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / >Novell virtual machines at the same time. Free trial click here: >http://www.vmware.com/wl/offer/345/0 >_______________________________________________ Jpublish-developer mailing >list [email protected] >https://lists.sourceforge.net/lists/listinfo/jpublish-developer ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0