• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: String Encodings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >String Encodings (From: Daniel Eggert <email@hidden>)
 >Re: String Encodings (From: Paolo Sommaruga <email@hidden>)
 >Re: String Encodings (From: Jim Kuo <email@hidden>)
 >Re: String Encodings (From: Daniel Eggert <email@hidden>)

  • Prev by Date: Re: Walking an Object's Relationships
  • Next by Date: How to build EOQualifier which generates "IN" SQL statement
  • Previous by thread: Re: String Encodings
  • Next by thread: Force Display Group to refetch, not consistent ??
  • Index(es):
    • Date
    • Thread