Helmut Richter <
hh...@web.de> wrote:
>On Wed, 2 Nov 2011, Adam H. Kerman wrote:
>>Jean-Pierre Coulon <
cou...@cacas.pam.obs-nice.fr> wrote:
>>>A colleague has written a text with accented characters with
>>>Notepad under XP. How can I include this tex into a LaTeX
>>>document? \usepackage[cp850]{inputenc} didn't work. Same with [latin1].
>>>When I open the Notepad document with the old DOS EDIT each accented
>>>character is represented by *two* strange characters.
>>Character set mismatch. DOS EDIT likely assumes the old IBM character set,
>>doesn't it? Notepad likely assumes Windows-1252, Microsoft's deliberately
>>incompatible Latin-1 character set.
>>Ask in comp.editors or a TeX group.
>"*two* strange characters" looks more like UTF-8.
Your display may be assuming yet another character set. Perhaps Notebook
is capable of UTF-8 output. I think a better-behaved document avoids
multi-byte characters if possible, but lots of people choose to output
UFT-8 to pretend to be "modern".
>Perhaps, there is a way to accept UTF-8 in LaTeX.
Really, you need to ask elsewhere on Usenet where you'll find the expertise
you seek.
>Otherwise, I have a Perl script transforming Windows-1252 or UTF-8 or a
>mixture thereof to something else. It does not produce LaTeX input but it
>could produce something that can be transformed to LaTeX input by simple
>editor commands. The script runs now under Linux, and is as well
>transferrable to Windows as any other Perl script -- should in principle
>not be a problem but I have no experience.
>The item is OT here but comp.std.internat has been closed down.
It wouldn't have been on topic in that newsgroup either.