Thanks for your answers, and just another few questions :) 1- Is "fpc .... -FcUTF-8" same as {$codepage utf-8}?
2- If i put {$codepage utf-8} in my unit and i have string A variable, that variable will be widestring and any ansistring assigned to it will converted to it? 3- if i has another unit with ansi text not UTF 8 and there is a B variable in that unit, then i assigned to the A := B is B string converted to widestring?. 4- How can i show the content of string (Wide, Ansi) (save it to file without any converting), is there any example. Thanks in advanced _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal