Re: [Lazarus] Some questions on Unicode wiki page

2012-06-25 Thread Michael Schnell
On 06/22/2012 08:57 PM, Hans-Peter Diettrich wrote: Ambiguous character representations are a general problem with characters, where e.g. line endings or whitespace can be represented in different ways. Of course, but that does not mean that it is worth to be mentioned in this case where it

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-23 Thread Hans-Peter Diettrich
Mark Morgan Lloyd schrieb: Reinier Olislagers wrote: Hearing about this reinforces my opinion that patches that work on everything except Win9x should be applied and that people wanting to support Win9x should commit workarounds themselves if available (Looking at you, bug 21659) I've has

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-23 Thread Mark Morgan Lloyd
Reinier Olislagers wrote: Hearing about this reinforces my opinion that patches that work on everything except Win9x should be applied and that people wanting to support Win9x should commit workarounds themselves if available (Looking at you, bug 21659) I've hassled people on a couple of o

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-23 Thread Felipe Monteiro de Carvalho
On Sat, Jun 23, 2012 at 12:40 AM, Marco van de Voort wrote: > No. Afaik fefault they *don't*. Only with manually installed extensions they > *partially* support unicode. Some W functions are supported in Win9x, please read: http://wiki.lazarus.freepascal.org/LCL_Unicode_Support#Wide_functions_pr

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-23 Thread Reinier Olislagers
On 23-6-2012 0:40, Marco van de Voort wrote: > On Fri, Jun 22, 2012 at 11:03:56AM +0200, Reinier Olislagers wrote: >> What is a widestring? > > On Windows and FPC 2.4+? COM compatible UTF16. (UCS2 on win2000). > > On the 2.4, and 2.6. non Windows and general FPC 2.2-, plain UTF16. (aka > Kylix

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-22 Thread Marco van de Voort
On Fri, Jun 22, 2012 at 11:03:56AM +0200, Reinier Olislagers wrote: > What is a widestring? On Windows and FPC 2.4+? COM compatible UTF16. (UCS2 on win2000). On the 2.4, and 2.6. non Windows and general FPC 2.2-, plain UTF16. (aka Kylix widestring). > - No Unicode support on Win9x section > "

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-22 Thread Hans-Peter Diettrich
Michael Schnell schrieb: On 06/22/2012 01:17 PM, Felipe Monteiro de Carvalho wrote: Yes, but in practice the only place that I know that uses everything in decomposed unicode is the Mac OS X filesystem. So for dealing with Mac OS X filenames we need special care and for the rest just suppose c

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-22 Thread Michael Schnell
On 06/22/2012 03:04 PM, Reinier Olislagers wrote: Well, it's a wiki. You can edit it... done. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-22 Thread Reinier Olislagers
On 22-6-2012 13:57, Michael Schnell wrote: > On 06/22/2012 01:17 PM, Felipe Monteiro de Carvalho wrote: >> Yes, but in practice the only place that I know that uses everything >> in decomposed unicode is the Mac OS X filesystem. So for dealing with >> Mac OS X filenames we need special care and for

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-22 Thread Michael Schnell
On 06/22/2012 01:17 PM, Felipe Monteiro de Carvalho wrote: Yes, but in practice the only place that I know that uses everything in decomposed unicode is the Mac OS X filesystem. So for dealing with Mac OS X filenames we need special care and for the rest just suppose composed mode (but remember

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-22 Thread Felipe Monteiro de Carvalho
On Fri, Jun 22, 2012 at 12:57 PM, Michael Schnell wrote: > Thus I understand, the same printout of a Unicode string can have multiple > encoding variants. > > So the use of "pos" and "=" needs to be handled with care. Yes, but in practice the only place that I know that uses everything in decompo

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-22 Thread Michael Schnell
On 06/22/2012 11:03 AM, Reinier Olislagers wrote: It says: "Due to the special nature of UTF8 you can simply use the normal string functions" It also says: " Note also that UTF-16, like UTF-8, may have decomposed characters. The character "Á" for example might be encoded as a single character o

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-22 Thread Reinier Olislagers
On 22-6-2012 11:33, Felipe Monteiro de Carvalho wrote: > Hello, I clarified all points mentioned here directly in the wiki. Thanks, Felipe, it's clear now! Reinier -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.f

Re: [Lazarus] Some questions on Unicode wiki page

2012-06-22 Thread Felipe Monteiro de Carvalho
Hello, I clarified all points mentioned here directly in the wiki. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Some questions on Unicode wiki page

2012-06-22 Thread Reinier Olislagers
Hi list, I'm diving into properly dealing with UTF8 encoded data coming in from my Twitter application/library (see FPC list announcement yesterday). Decided to go over the Laz wiki page on unicode and cleaned up some typos etc: http://wiki.lazarus.freepascal.org/LCL_Unicode_Support I've got som