• 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
Reading an utf8 file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reading an utf8 file


  • Subject: Reading an utf8 file
  • From: Jérôme Seydoux <email@hidden>
  • Date: Sat, 4 Nov 2006 19:04:12 +0100

Hi,

I'm trying to read data from an utf8 file:
>   read f as «class utf8»

This works when the file contains text that can be converted to MacRoman
(accented letters), but not for other unicode text (japanese or russian).
Am I doing something wrong?

I also noticed that:
>   read f using delimiter ASCII character 10 as «class utf8»
reads the file in MacRoman instead of utf8.

Jérôme

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Reading an utf8 file
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: Auto Start FileMaker and open file?
  • Next by Date: Set creation date?
  • Previous by thread: Re: Auto Start FileMaker and open file?
  • Next by thread: Re: Reading an utf8 file
  • Index(es):
    • Date
    • Thread