• 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: 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


  • Follow-Ups:
    • Re: String Encodings
      • From: Kushnir Gennady <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>)

  • Prev by Date: AW: WORepetition in Columns instead of Rows
  • Next by Date: Re: Walking an Object's Relationships
  • Previous by thread: Re: String Encodings
  • Next by thread: Re: String Encodings
  • Index(es):
    • Date
    • Thread