Re: String Encodings
Re: String Encodings
- Subject: Re: String Encodings
- From: Daniel Eggert <email@hidden>
- Date: Wed, 24 Aug 2005 11:44:25 +0200
Thank you. What a relief.
Correctly setting the source file encoding solves the problem. I
wonder why they're hiding those things.
/Daniel
On Aug 23, 2005, at 11:11 PM, Jim Kuo wrote:
Hi
You don't need to do all that , just assign your string normally, eg.
public String readThis() {
return "non-ASCII string: 你好";
}
and set your active target to Application Server, then Project-
>Edit Active Target "Application Server",
click on Java Compiler Settings, make sure the Source file encoding
drop down is set to Unicode (UTF-8), recompile and run.
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden