swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] UTF-8 character


From: Patrick Brockmann
Subject: Re: [Swftools-common] UTF-8 character
Date: Tue, 31 May 2005 10:03:46 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115

Matthias Kramm wrote:

On Fri, May 27, 2005 at 07:41:34PM +0200, Patrick Brockmann wrote:
.text astring text="RĂ©alisation"
note the french accent
will be with this UTF-8 notation
. text astring text="R\xe9alisation"

ok but gives RĂ©lisation  (the "a" is missing)

The above actually parses as "R{\xe9a}lisation" as
the "a" is considered to be part of the \x, too.

I'm open to syntax suggestions on how to work around this
one-
my proposal would be to allow the string to be encoded as
R\xe9/alisation, with the "/" delimiting the \x command.
Does somebody have a better idea for a syntax? Otherwise
I'll implement the "/" version tomorrow.

Hi Matthias,

I could suggest the python syntax which is clear and simple:
|\uXXXX|

An exemple would give:

. text astring text="Ru\00e9alisation"

More information on this syntax can be found at:
http://docs.python.org/tut/node5.html#l2h-3

Patrick





reply via email to

[Prev in Thread] Current Thread [Next in Thread]