This line of code in delphi:
dict.add('≧̸', #$2267#$0338);
Adds to dict, which is a TDictionary<String, String>, the string pair ≧̸ and '≧̸'.
However compiling the same code in $mode delphi using FPC results in adding the string pair ≧̸ and '??'. But this works for other unicode characters like:
dict.add('≠', #$2260);
which is '≠' in both delphi and FPC.
A bonus question: I'm somewhat confused by this. My code is behaving like the mode is delphiunicode, but it's only set to delphi. The project options syntax mode default is ObjFPC, so that's not it, and Use AnsiStrings is on. I suppose that's wrong, but why is simple unicode working? The documentation is confusing on this. Also, if my strings are unicode, what's a char? is that unicode too?