• 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: How to easily create a UTF-16 file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to easily create a UTF-16 file?


  • Subject: Re: How to easily create a UTF-16 file?
  • From: Andre-John Mas <email@hidden>
  • Date: Fri, 1 Feb 2008 21:25:42 -0500

With regards to Safari, two place to open bug tickets, if you think this is an omission:

 - http://bugreporter.apple.com/
 - http://www.webkit.org/

Andre

On 1-Feb-08, at 18:39 , Calvin Liu wrote:

Well, there's more question for the UTF-16 issue:

I did all of these in order to create a UTF-16LE file. Yes I can do that with textedit but when I check that file with 'file' command, it says 'data', not 'Little-endian UTF-16 Unicode HTML document character data, with CRLF line terminators'. Both are UTF-16LE file, what's the difference between them? I attached the screen snapshot of hexeditor, for your reference. The utf-16-le-sample.png is the sample file which is detected as 'Little-endian' and utf-16-le.png is my file and is detected as 'data'. I also tried to add 'FF FE' in the head of my file, which is no help.

And my file couldn't be open correctly in safari. (Nowhere to set utf-16 in safari!) Firefox is ok but in Firefox 2 I need to manually set the encoding to utf-16le, which is not necessary for the sample file.

I'm sure there's something different... but what's that? Really headache...

Thanks.
- Calvin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to easily create a UTF-16 file? (From: Calvin Liu <email@hidden>)
 >Re: How to easily create a UTF-16 file? (From: Sebastian Hagedorn <email@hidden>)
 >Re: How to easily create a UTF-16 file? (From: Calvin Liu <email@hidden>)
 >Re: How to easily create a UTF-16 file? (From: Calvin Liu <email@hidden>)
 >Re: How to easily create a UTF-16 file? (From: Calvin Liu <email@hidden>)

  • Prev by Date: Re: How to easily create a UTF-16 file?
  • Next by Date: How to run Darwin in Visual Studio 2005 in the debug mode
  • Previous by thread: Re: How to easily create a UTF-16 file?
  • Next by thread: Re: How to easily create a UTF-16 file?
  • Index(es):
    • Date
    • Thread