• 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: Unicode and languages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode and languages


  • Subject: Re: Unicode and languages
  • From: Hanaan Rosenthal <email@hidden>
  • Date: Thu, 8 Apr 2004 19:54:19 -0400

On Apr 8, 2004, at 5:49 PM, Shane Stanley wrote:

> On Apr 8, 2004, at 10:03 PM, Hanaan Rosenthal wrote:
>
>> What I'm doing right now is collecting all the code into a string,
>> then
>> saving to file and importing to InDesign.
>> This changes all Unicode text into plain strings.
>
> But why not collect it all into a Unicode string?

I guess I will have to do that to keep the Japanese text

>
>> Also, I need to use specific fonts for Japanese and English text so
>> the
>> font names have to be embedded in the tagged text.
>
> I suppose it depends how, and how often, it changes language. for
> example, if each paragraph is always one language or another, you
> could change the font after it was imported -- you would get the first
> character of each paragraph, say, and check if it is returned as an
> ASCII character or not (you'll also have to allow for quotes and
> stuff).

The data is very unpredictable language-wise. I have a table where each
cell in any row can be either Japanese or English.
When I test for Ascii number, the character is first converted to
normal string, so I can't use this method.

My only real road-block is looking at a unicode string and figuring out
if it's in English or Japanese.
My other issue is that I'm working on a Mac OS X setup for Japanese, so
I can have simple strings in Japanese.

Hanaan

>
> --
> Shane Stanley <email@hidden>
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.
>
>
--
Hanaan Rosenthal * Custom Flow Solutions
MEDIA AUTOMATION CONSULTING
401-487-2957 * email@hidden
* www.customflowsolutions.com *

be successful... ...work less.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Unicode and languages
      • From: Shane Stanley <email@hidden>
    • Re: Unicode and languages
      • From: email@hidden
References: 
 >Unicode and languages (From: Hanaan Rosenthal <email@hidden>)
 >Re: Unicode and languages (From: Christopher Nebel <email@hidden>)
 >Re: Unicode and languages (From: Hanaan Rosenthal <email@hidden>)
 >Re: Unicode and languages (From: Shane Stanley <email@hidden>)
 >Re: Unicode and languages (From: Hanaan Rosenthal <email@hidden>)
 >Re: Unicode and languages (From: Shane Stanley <email@hidden>)

  • Prev by Date: Can iTunes run AppleScript as well as Trojan code?
  • Next by Date: Re: Unicode and languages
  • Previous by thread: Re: Unicode and languages
  • Next by thread: Re: Unicode and languages
  • Index(es):
    • Date
    • Thread