Passing UTF-8 through variables
Frank Leahy
frank at backtalk.com
Tue Mar 1 20:20:33 EST 2005
Sivakatirswami,
The difference is likely due to the fact that when you save as
Unix-Unicode-UTF-8 BBEdit saves a unicode BOM file header.
You owe it to yourself to read http://en.wikipedia.org/wiki/Unicode and
http://www.joelonsoftware.com/articles/Unicode.html
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Mar 1, 2005, at 12:38 AM, use-revolution-request at lists.runrev.com
wrote:
> Date: Mon, 28 Feb 2005 09:59:13 -1000
> From: Sivakatirswami <katir at hindu.org>
> Subject: Re: Passing UTF-8 through variables
> To: How to use Revolution <use-revolution at lists.runrev.com>
> Message-ID: <9003d123a2b18953fd8f811ba3805a98 at hindu.org>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> Well, it turns out there is nothing wrong with the original file at
> all... duh! I tried the "old fashioned way" selected/copied the raw
> text from BBEdit, pasted into a text box in InDesign, select all text
> and change to MinionD. Yahoo! it works... all these "diacriticals"
> are just 8-bit chars in the high ascii range (128-255) for font
> MinionD... ergo, nothing wrong with the file at all.
>
> But, the way of saving the file in BBEdit is crucial: we set the file
> type in BBEdit to save as
>
> Unix- Unicode- UTF-8
>
> Then the import into InDesign with XML tags mapped to character styles
> worked fine. The problem seems to have been that the file was being
> saved in BBEdit as a MacIntosh file. If we set it to
> mac-unicode-iso-8859-1 bbedit would give an unmappable char msg. If
> we set it to save as mac-not-unicode-iso-8859-1... all problems in
> BBEdit woudl go away, but it would not import the characters correctly
> as xml in Indesign. Only Unix- Unicode- UTF-8 worked in both
> environments.
>
> Frankly I feel like a doctor talking about "eczema" for which he knows
> not the cause or the cure, but pretends to his patient have some great
> knowledge via the use of fancy labels for observable phenomena. When
> in fact the only thing he *really* knows is "You have a skin problem."
> "Right, I knew that before I came to see you..."
>
> In this case we are one step further... we know not the cause but we
> did find a cure, though the mode of operation of that is still unknown,
> but all we really know is "its an encoding thing.." (smile)
>
> Dar, your tips did put me onto it though, thanks.
>
> Sivakatirswami
More information about the use-livecode
mailing list