• 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
[Solved] Need help with Japanese (two-byte system) problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Solved] Need help with Japanese (two-byte system) problem


  • Subject: [Solved] Need help with Japanese (two-byte system) problem
  • From: John Fox <email@hidden>
  • Date: Thu, 9 Feb 2006 10:56:55 -0800

Hello All:

I wanted to thank Clark and Aki for their very kind help, and share what I learned.

My application (MemoryMiner) uses several excellent third party frameworks, including DataCrux, which sits on top of the sqlite DB. Aki was right, the problem in the end were some "vesitigial" uses of NSString's cString and stringWithCString: methods. Once they were converted to use UTF8String, everything started working just fine.

The thing that was driving me crazy is that I couldn't reproduce the problem myself, even when switching the language settings to Japanese. The problem only became reproducible when I got a vCard with a complete set of Japanese people names, and addresses to work with. The point here, is simply that when localizing, especially with two-byte languages, there's no substitute for "native" testing.

At any rate, once I again I bow down and give thanks to the Cocoa-dev community. Where would I be without it?

Best regards,

John


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Need help with Japanese (two-byte system) problem (From: John Fox <email@hidden>)
 >Re: Need help with Japanese (two-byte system) problem (From: Clark Cox <email@hidden>)
 >Re: Need help with Japanese (two-byte system) problem (From: Aki Inoue <email@hidden>)

  • Prev by Date: Re: Using zlib for i386 (or Universal) builds on PPC clients
  • Next by Date: Multi-Line TableRow and Bindings
  • Previous by thread: Re: Need help with Japanese (two-byte system) problem
  • Next by thread: Getting exact height of NSAttributedString
  • Index(es):
    • Date
    • Thread