On Sun, 20 Sep 2015, Martin Schreiber wrote:
Hi,
I did not find resourcestrings mentioned here:
http://wiki.freepascal.org/User_Changes_3.0
http://wiki.freepascal.org/FPC_Unicode_support
There encoding is not mentioned here:
http://www.freepascal.org/docs-html/prog/progse39.html#x228-2410009.2
http://www.freepascal.org/docs-html/prog/progse40.html
states:
"
The resource strings are stored in tables, one per unit, and one for the
program, if it contains a resourcestring section as well. Each resourcestring
is stored with its name, hash value, default value, and the current value,
all as AnsiStrings.
"
Are there any changes? How resourcestrings are encoded?
Good remark.
The only change I am aware of is that the compiler can (and by default does, I
think)
write the resource strings as a JSON file instead of the older .rst format.
[Note to self: I should still document this.]
That being the case, I would think the most reasonable format is UTF-8, but
this is speculation.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal