Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Diacritics properly displayed



Learned again something new.

Thanks
Andreas


Andreas Kiel

Spherico
Nelkenstr. 25
D-76185 Karlsruhe
Tel.: +49 (0)721 183 9753
eFax: +1 650 897 8094
eMail: email@hidden
On 14.03.2005, at 16:54, email@hidden wrote:

Actually ASS uses UTF-16.  You can just say "as Unicode text" for reading and writing files to achieve a similar effect, and without the call method nastiness.

Matthew Stuckwisch

On Mar 14, 2005, at 2:33 AM, Kiel wrote:


Try the below.
Since ASS is using UTF-8 encoding, those special characters will/must be encoded and decoded to UTF-8

    encode: set theText to call method "UTF8String" of theText
    decode:     set theText to (call method "stringWithUTF8String:" of class "NSString" with parameter theText)

Andreas


Andreas Kiel

Spherico
Nelkenstr. 25
D-76185 Karlsruhe
Tel.: +49 (0)721 183 9753
eFax: +1 650 897 8094
eMail: email@hidden
On 08.03.2005, at 06:11, Ronald Hofmann wrote:

Hi everybody,
I´m from Germany and in our language we have dicritical characters.

I have this in my app:
display dialog "Safari läuft nicht"

At runtime I get this: "Safari l√§ft nicht"

How can I avoid this? Any hints?

tia AAAA, regards Ronald
=========================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden

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

This email sent to email@hidden


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

This email sent to email@hidden

References: 
 >Diacritics properly displayed (From: Ronald Hofmann <email@hidden>)
 >Re: Diacritics properly displayed (From: Kiel <email@hidden>)
 >Re: Diacritics properly displayed (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.