[fpc-pascal] Compile ANSI unit as UTF8

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Sep 6 09:54:58 CEST 2010


On Mon, Sep 6, 2010 at 1:28 AM, Zaher Dirkey <parmaja at gmail.com> wrote:
> I have unit with Ansi strings but i want to compile it as UTF-8 how to ask
> the compiler to convert it to utf8 before compile it?

By saying that the unit has ansi strings do you mean that is has some
types like:

X: ansistring;

Or that the text of the unit itself is in an iso encoding?

For the second case probably using a editor which can convert between
encodings like Notepad++ would solve the issue. You can use it to
convert your unit to UTF-8.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list