[texworks] Message from TeXworks user

Stefan Löffler st.loeffler at gmail.com
Tue May 8 12:51:45 CEST 2012


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


More information about the texworks mailing list