On Wed, 26 Jul 2006, Friš Martin Mgr wrote:

> I give additional details. I write programs for mathematical linguistics. 
> Especially program for frequency dictionary of chosen text. 
> I write text to the editor. The text is in Czech. It displays correctly in 
> editor window , 
> i.e. with diacritics. Then follows transformation into words. In program for 
> frequency 
> diactionary, which contains binary search I have usual read and write 
> statements. 
> When I send the result to the printer with write it is displayed incorrectly 
> on the 
> print output - the diacritics. I am working under Windows |X|P.

You cannot do that; The screen is in codepage 1250 (or 1251), but the codepage 
of the
printer is most likely 850 or so (whatever plain ascii is). What you can try to 
do is 
to use the windows  AnsiToOEMChar routine to convert the windows codepage to 
something 
that the printer understands.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to