Re: How to easily create a UTF-16 file?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com - 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: Thanks. - Calvin _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... With regards to Safari, two place to open bug tickets, if you think this is an omission: 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Andre-John Mas