[texworks] Message from TeXworks user
christoph.ruessler at gmx.de
Sat May 12 12:06:02 CEST 2012
> 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,
> 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?
That solved the problem, my editor didn't use UTF-8 as default encoding.
More information about the texworks