[texworks] Message from TeXworks user
Christoph Rüßler
christoph.ruessler at gmx.de
Sat May 12 12:06:02 CEST 2012
Hello,
> Hi,
>
> On 2012-05-07 15:10, Christoph Rüßler wrote:
>> recently I tried to adapt the script "toggleBold.js" to enclose a
>> selection in guillemets. It turned out that they didn't get inserted
>> correctly. Instead of the guillemets that I expected and that are
>> contained in the typeface I use, symbols showing a question mark
>> appeared and even the compiled pdf file contained only question marks
>> (using "Smart Quote mode" with guillemets instead works fine). Because
>> Texworks also failed to display any non ASCII characters from the field
>> "Author:" I assume that there is some sort of problem with UTF8 and
>> scripting, but I did not investigate it further (maybe it's already
>> fixed in newer versions).
>
> On my system, the "Author" field is displayed correctly (with umlauts,
> etc.).
> Are you sure that you saved your script in UTF-8 encoding (or included a
> proper "Encoding:" line)?
> If that is not the problem, could you send me the script so I check it?
>
> HTH
> Stefan
That solved the problem, my editor didn't use UTF-8 as default encoding.
Thanks!
Christoph
More information about the texworks
mailing list