[OS X TeX] DOS EXTENDED ASCII

Peter Dyballa Peter_Dyballa at Web.DE
Sun Feb 24 19:23:27 EST 2008


Am 24.02.2008 um 23:32 schrieb Eldon Lytle:

> I HAVE A CHARACTER DISPLAY PROBLEM:

Does the computer exist or a backup? In an autoexec.bat or config.sys  
file you could find a Cope Page setting ...

If not, then experimenting could help. Mac OS X comes with an utility  
to convert from one encoding to another one. It's called "iconv" –  
obviously not up-to-date since all lower-case! In Terminal you could  
type:

	iconv -l | egrep 'CP[0-9][0-9][0-9][^0-9]' | sort

It will name all those Code Pages with a three digit number, for  
example:

	437 CP437 IBM437 CSPC8CODEPAGE437
	850 CP850 IBM850 CSPC850MULTILINGUAL

All names on one line are synonyms, so it's OK to use any one name  
from such a line. In a second Terminal you then could invoke:

	iconv -t UTF8 -f 437 «your file» > «output file»

The symbols «your file» and «output file» mean: substitute the  
whole quote with a real file name.

You would need to invoke this line as long as the output is not  
correct by changing the value of the -f(rom) encoding and as long as  
there still choices left. You can create another set of modern Code  
Pages by invoking:

	iconv -l | egrep 'CP[0-9][0-9][0-9][0-9]' | sort


> ╒ ╟ ╡ ╢ ▐ ░ ▓

These are probably:

	U+2552 BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE ╒,
	U+255F BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE ╟,
	U+2561 BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE ╡,
	U+2562 BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE ╢,
	U+2590 RIGHT HALF BLOCK ▐,
	U+2591 LIGHT SHADE ░,
	U+2593 DARK SHADE ▓.

--
Greetings

   Pete

Basic, n.:
	A programming language. Related to certain social diseases in
	that those who have it will not admit it in polite company.






More information about the MacOSX-TeX mailing list