Hello, I've got 2.5.1 now. I have a string constant like this:
const Vec:AnsiString=#$094#$06D; This should just be 8-bit data with no conversion. But I get "Error: Unicodechar/string constants cannot be converted to ansi/shortstring at compile-time." Can I tell the compiler to interpret all string constants as Ansi rather than Unicode? I read the FPC UNICODE SUPPORT wiki page but it doesn't go into such detail. Kind Regards, Tobias Giesen Super Flexible Software Ltd. & Co. KG Lessingstr. 42 48485 Neuenkirchen, Germany www.superflexible.com www.tgtools.com ----------------------------------------------------------- Registered at register court Steinfurt as HRA 5061 Liability / general partner: TGTools Ltd. Company No. 05513299 Registered in England and Wales Directors: Tobias Giesen and Claudia Giesen _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal