Re: String Encodings
Re: String Encodings
- Subject: Re: String Encodings
- From: Kushnir Gennady <email@hidden>
- Date: Wed, 24 Aug 2005 17:46:32 +0400
I've solved identical problem setting encoding of source files to
"Non lossy ASCII"
this works
however Jim's method seems more reasonable but also more time-
consuming and hard to remember.
Gennady
On 24.08.2005, at 13:44, Daniel Eggert wrote:
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:
408ka.mipt.ru
This email sent to email@hidden
_______________________________________________
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