On Wed, Dec 18, 2013 at 3:56 AM, Martin Schreiber <[email protected]> wrote: > On Wednesday 18 December 2013 02:52:49 Marcos Douglas wrote: >> >> I would like to understand: Why Java, .Net and others use UTF-16 as >> default encode and why Lazarus team chose UTF-8? >> > One reason is that Free Pascal did not support utf-16 at the time Unicode > became urgent and later the FPC implementation of utf-16 strings was buggy. > So there was no other choice than to use utf-8 in standard FPC 8 bit strings.
On Wed, Dec 18, 2013 at 5:05 AM, Michael Van Canneyt <[email protected]> wrote: > > On Tue, 17 Dec 2013, Marcos Douglas wrote: > >> On Tue, Dec 17, 2013 at 11:16 PM, Marcos Douglas <[email protected]> wrote: >>> >> [...] >> >> I would like to understand: Why Java, .Net and others use UTF-16 as >> default encode and why Lazarus team chose UTF-8? > > The impact of switching to UTF-8 is less when you care about backwards > compatibility. Now I understand. Thank you Martin and Michael . Marcos Douglas -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
