On Wed, December 23, 2015 11:41, Lubos Pintes wrote:
Hello Lubos, > The result isthe same, I tried it before I wrote my message. > I even tried to temporarily write ordinal codes of characters, it seems > that a string is not automatically converted to a WideString when > assigned, there wereno zeros, like H#0e#0l#0, etc. If you look at ordinal codes of characters in a WideString using Ord(WideStringVar[x]), you would never see any zeros, because the ordinal value represents the character (actually codepoint), not individual bytes. Tomas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal