• 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: Japanese Language
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Japanese Language


  • Subject: Re: Japanese Language
  • From: Greg Guerin <email@hidden>
  • Date: Wed, 15 Jul 2009 22:12:10 -0700

Ricky Sharp wrote:

As for the transport, I would highly recommend UTF-8 as no byteswapping is needed. For most Latin-based data, the number of bytes taken up in UTF-8 will be less than what is used by UTF-16. For Japanese (and many other languages), the number of bytes of UTF-8 will be more than UTF-16. Just wanted to point that out in case you have insanely strict bandwidth requirements.

Depending on what the server and client are using as the transport protocol, it may support a compressed encoding. For example, HTTP 1.1 has a gzip option for content encoding (also compress and deflate, but in my experience gzip is more often seen). See sec. 3.5 Content Codings of RCC2616.


http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html

In general, a client states its supported encodings and the server chooses, or the two participants negotiate. Again, this depends on what the transport protocol is: not all of them support compression.

  -- GG

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Printing a View [solved]
  • Next by Date: Creating methods with variable length arguments terminated by nil
  • Previous by thread: Re: Japanese Language
  • Next by thread: [iPhone] Encrypting data of an iPhone Application / Converting J2ME App functionality
  • Index(es):
    • Date
    • Thread