<html><body><jonas.maebe@elis.ugent.be style="font-family: serif; font-size: 16px;"><br>>> can I rely on <br>>>http://wiki.freepascal.org/User_Changes_3.0#UNICODE_define_depends_on_default_string_type_instead_of_on_target_platform<br>>><br>>> that UNICODE is defined just when String=UnicodeString and not <br>>>defined in all other cases ?<br>> <br>> That's literally what that text says, yes. What is missing from that <br>>changelog entry to make this clearer?<br>> </jonas.maebe@elis.ugent.be><div style="font-family: serif; font-size: 16px;"><jonas.maebe@elis.ugent.be><br></jonas.maebe@elis.ugent.be></div><div style="font-family: serif; font-size: 16px;"><jonas.maebe@elis.ugent.be>Nothing :-))</jonas.maebe@elis.ugent.be></div><div style="font-family: serif; font-size: 16px;"><jonas.maebe@elis.ugent.be>But before I have asked here, I have searched RTL sources and I found many times lines like this:</jonas.maebe@elis.ugent.be></div><div><jo
nas.maebe@elis.ugent.be><font face="serif"><div><br></div><div>{$ifdef FPC_OS_UNICODE}</div><div> {$define UNICODE}</div><div>{$endif}</div></font></jonas.maebe@elis.ugent.be></div><div style="font-family: serif; font-size: 16px;"><jonas.maebe@elis.ugent.be><br></jonas.maebe@elis.ugent.be></div><div style="font-family: serif; font-size: 16px;"><jonas.maebe@elis.ugent.be>And this lead me to confusion, if UNICODE is really compiler define or not as far as UNICODE is defined repeatedly unit by unit</jonas.maebe@elis.ugent.be></div><div style="font-family: serif; font-size: 16px;"><jonas.maebe@elis.ugent.be><br></jonas.maebe@elis.ugent.be></div><div style="font-family: serif; font-size: 16px;"><jonas.maebe@elis.ugent.be>-Laco.</jonas.maebe@elis.ugent.be></div><div style="font-family: serif; font-size: 16px;"><jonas.maebe@elis.ugent.be><br></jonas.maebe@elis.ugent.be></div></body></html>