[texworks] ver 567 Scripts - Cariag/Line returns now coming back as ??
Paul A Norman
paul.a.norman at gmail.com
Wed Mar 17 23:20:45 CET 2010
Thank you Jonathan,
Yes there is a "% !TEX encoding" line in your file." from the document template.
And as I sat thinking about this I realised that it got carelessly
altered by me in a bulk 'replace all' - to --
Where are these "% !TEX" type things enumerated please?
Paul
On 18 March 2010 02:41, Jonathan Kew <jfkthame at googlemail.com> wrote:
> On 17 Mar 2010, at 02:03, Paul A Norman wrote:
>
>> Does this relate? When I reopen one of my master documents, it has a call for
>>
>> \usepackage[utf8]{inputenc} % set input encoding (not needed with XeLaTeX)
>>
>> As per the document template.
>>
>
> I don't think TeXworks should pay any attention to this. However, if there's a "% !TEX encoding = ....." comment, it will try to interpret this to detect the character encoding as it reads the file.
>
>> I get a message box when the document opens complaining that UTF--8 is
>> not supported it will be interpreted as UTF-8
>
> True; I've never heard of "UTF--8" (and more important, neither has Qt's text codec collection). It looks like maybe a TeX-style en-dash? That's not appropriate in the encoding name.
>
>>
>> What is the difference between UTF (two dashes) 8 and UTF (one dash) 8?
>
> Simple: the first is wrong, the second is correct. So the question is, where's that "UTF--8" coming from? My guess is that there must be a "% !TEX encoding" line in your file.
>
> JK
>
>
>
More information about the texworks
mailing list