[Mono-list] Why UTF-16 strings in Mono.Unix?

2005-10-17 Thread Florian Weimer
Why are UTF-16 strings used in Mono.Unix? Doesn't this mean that some resources are inaccessible to programs running under Mono in a multibyte localeq (such as one using UTF-8)? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.co

Re: [Mono-list] Why UTF-16 strings in Mono.Unix?

2005-10-17 Thread Jonathan Pryor
On Mon, 2005-10-17 at 19:03 +0200, Florian Weimer wrote: > Why are UTF-16 strings used in Mono.Unix? Doesn't this mean that some > resources are inaccessible to programs running under Mono in a > multibyte localeq (such as one using UTF-8)? Care to elaborate? System.String is always used to repr

Re: [Mono-list] Why UTF-16 strings in Mono.Unix?

2005-10-17 Thread Brion Vibber
Jonathan Pryor wrote: On Mon, 2005-10-17 at 19:03 +0200, Florian Weimer wrote: Why are UTF-16 strings used in Mono.Unix? Doesn't this mean that some resources are inaccessible to programs running under Mono in a multibyte localeq (such as one using UTF-8)? Care to elaborate? System.String is

Re: [Mono-list] Why UTF-16 strings in Mono.Unix?

2005-10-17 Thread Jonathan Pryor
On Mon, 2005-10-17 at 17:04 -0700, Brion Vibber wrote: > Jonathan Pryor wrote: > > On Mon, 2005-10-17 at 19:03 +0200, Florian Weimer wrote: > >>Why are UTF-16 strings used in Mono.Unix? Doesn't this mean that some > >>resources are inaccessible to programs running under Mono in a > >>multibyte loc

Re: [Mono-list] Why UTF-16 strings in Mono.Unix?

2005-10-18 Thread Florian Weimer
* Jonathan Pryor: > On Mon, 2005-10-17 at 19:03 +0200, Florian Weimer wrote: >> Why are UTF-16 strings used in Mono.Unix? Doesn't this mean that some >> resources are inaccessible to programs running under Mono in a >> multibyte localeq (such as one using UTF-8)? > > Care to elaborate? System.St

Re: [Mono-list] Why UTF-16 strings in Mono.Unix?

2005-10-18 Thread Jonathan Pryor
On Tue, 2005-10-18 at 09:58 +0200, Florian Weimer wrote: > * Jonathan Pryor: > > On Mon, 2005-10-17 at 19:03 +0200, Florian Weimer wrote: > >> Why are UTF-16 strings used in Mono.Unix? Doesn't this mean that some > >> resources are inaccessible to programs running under Mono in a > >> multibyte lo

Re: [Mono-list] Why UTF-16 strings in Mono.Unix?

2005-10-18 Thread Florian Weimer
* Jonathan Pryor: > This won't work with a great deal more than just Mono applications. > This will likely also "break" for every app that uses a runtime (Java, > Perl, Python), It doesn't break for Perl or Python, nor Emacs or vi. > and certainly won't work with GTK+/Gnome applications > unless

Re: [Mono-list] Why UTF-16 strings in Mono.Unix?

2005-10-20 Thread Jonathan Pryor
On Tue, 2005-10-18 at 13:18 +0200, Florian Weimer wrote: > No, this is not what I want. I want to be able to write code which > can access all files the user has read access to, irrespective of > their names. Thank you for pointing this out. I didn't have a test case for this scenario until now,