On Mon, May 1, 2017 at 8:47 AM, Mattias Gaertner via Lazarus <lazarus@lists.lazarus-ide.org> wrote: > Option a) You can use English in sources and load all non ASCII > constants via resourcestrings or similar. Then the codepage is > irrelevant. > Option b) You can store all files as UTF-8 with BOM. Then FPC will > store all non ASCII string constants as unicodestrings. Be careful when > using PChar with them. This adds implicit conversions, so it might be > slower. >
Maybe option A could be the best. I did not remember to use resourcestrings... it is a good tip, thanks. Marcos Douglas -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus