On Oct 22, 2009, at 6:33 AM, Knut Forkalsrud wrote:
javac assumes the source file is latin-1 unless anything else is
explicitly specified.
The easiest way to deal with that is to use unicode escapes in the
java source.
Remember, too, that PHP-5 strings are 8-bit by default and Java is 16-
bit.
You may want to use unicode-encoding='true' to use 16-bit strings in
PHP.
-- Scott
-Knut
On Thu, Oct 22, 2009 at 01:38, Илья Казначеев
<[email protected]> wrote:
> On Tuesday 06 October 2009 00:15:44 smallufo wrote:
>
>> Both of my java and php file are encoded in UTF8
>> It seems Chinese words in php can successfully pass to java side ,
>> BUT , java side cannot correctly pass Chinese words back.
>> see my attachments for detail .
>>
>> If you cannot see the attachment , I uploaded to here :
>>
>> http://i273.photobucket.com/albums/jj212/smallufo/quercus_Chinese_bug.gif
>
> Are you sure your javac encoding is set to utf-8?
> It should match your source encoding, or else.
>
> And it can still be latin-1.
>
>
> _______________________________________________
> resin-interest mailing list
> [email protected]
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest