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



_______________________________________________
Swftools-common mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/swftools-common

Reply via email to