[fpc-devel] Unicode and UTF8String

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Dec 1 13:28:25 CET 2008


On Mon, Dec 1, 2008 at 10:13 AM, Florian Klaempfl
<florian at freepascal.org> wrote:
> No, it will be RTLString which type depends on the OS.

Ok, so code would be something like this:

var
  OSString: RTLString;
  MyString: UTF8String;
begin
  OSString := SomeRTLRoutine;
  MyString := OSString;

?

It will be funny to use a string type about which nothing is known. I
wonder if people will abuse this and start operating system dependent
code.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list