<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
hello david,<br>
<br>
thanx for the tip about --encoding option. In the preferences of
ActionScript, in Flash, the option to use UTF-8 was selected, so, using
--encoding UTF-8 with as2api solved the problem.<br>
<br>
bye, and thanx for helping. If someday you do a GUI for as2api, I would
can help with some icons.. (i cann't help programming in ruby...)<br>
<br>
[]'s<br>
andrei<br>
<br>
David Holroyd wrote:
<blockquote cite="mid20060118074056.GB9195@badgers-in-foil.co.uk"
 type="cite">
  <pre wrap="">On Wed, Jan 18, 2006 at 12:59:35AM -0200, Andrei R. Thomaz wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">i tried to use AS2API, and it's nice, but it doesn't work fine with 
latin characteres (? ? etc.). I tried the windows version ;-)
    </pre>
  </blockquote>
  <pre wrap=""><!---->
What encoding, specifically are the input files using?

as2api (effectively) assumes that files are in ISO-8859-1, unless:

- it spots a unicode Byte-Order-Marker at the start of the file, in which
  case the generated HTML is marked as using UTF-8

- the '--encoding xxx' option is given on the commandline, in which case
  the genenerated HTML is marked as using encoding 'xxx'

Note also that, currently, as2api doesn't translate the encoding of
characters from the source files -- it just copies the text verbatim and
tries to set the appropriate 'charset' header in the HTML metadata.


Maybe you could attach and example of one of the files you're working
with which gives unexpected results?


thanks!
dave

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
RGB Design Digital
<a class="moz-txt-link-abbreviated" href="http://www.rgbdesigndigital.com.br">www.rgbdesigndigital.com.br</a>

<a class="moz-txt-link-abbreviated" href="mailto:andrei@rgbdesigndigital.com.br">andrei@rgbdesigndigital.com.br</a> / (51) 92067436


</pre>
</body>
</html>