Am 10.02.2012 um 12:11 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

> ... Well, my information was not correct.
> 
> There are characters > 127 in the file, like "ř", "š"...
> 
> Each char = 1 byte, and as I'm using Windows with CP 1250, the characters are 
> displayed correctly.
> 
> But I have problem loading them into ConTeXt.
> 
> I need to convert the bytes > 127 to UTF sequence, which would be acceptable 
> by ConTeXt.
> 
> @Thomas:
> 
> The table looks nice but there are no entries for CP 1250 to UTF conversion.
> 
> I prepared some tables: character conversion and removal of diacritics (see 
> the attachment);
> maybe it would be handful to include them into ConTeXt somehow.

Why don’t you let do context the conversion:

\starttext

this is something in utf8

\startregime[cp1250]
\input filewithcp1250encoding
\stopregime

more text encoded in utf8

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to