12.10.2011 16:03, Michael Schnell wrote: > I suppose a variable of the type "String" is pre-loaded with the > predefined "System" encoding ID. If you mean "AnsiString" then it is loaded with encoding 0 which means default system codepage. It will get the real encoding number after the first assignment. Best regards, Paul Ishenin.