Re: Multi-byte locales

2005-10-19 Thread Stephen Crawley
Tom Tromey wrote: "Florian" == Florian Weimer <[EMAIL PROTECTED]> writes: Florian> On a related note, is it possible to access the command line Florian> as an array of byte arrays? Nope. To elaborate. As far as I know, none of Sun's Java implementations since (at least) JDK 1.1 have offer

Re: Multi-byte locales

2005-10-18 Thread Tom Tromey
> "Florian" == Florian Weimer <[EMAIL PROTECTED]> writes: Florian> Is there some GNU extension which can work around this issue? Nope. You could do it some hacky way, e.g. exec a second VM with different locale settings. Eww... Florian> On a related note, is it possible to access the comma

Re: Multi-byte locales

2005-10-18 Thread Florian Weimer
* Michael Koch: > On Tue, Oct 18, 2005 at 09:29:53AM +0200, Florian Weimer wrote: >> * Michael Koch: >> >> > There is no GNU extension (yet) that van work around this that I'm aware >> > of. >> >> Do you think this (i.e. non-accessible files) is a problem at all? > > Does files really contain su

Re: Multi-byte locales

2005-10-18 Thread Michael Koch
On Tue, Oct 18, 2005 at 09:29:53AM +0200, Florian Weimer wrote: > * Michael Koch: > > > There is no GNU extension (yet) that van work around this that I'm aware > > of. > > Do you think this (i.e. non-accessible files) is a problem at all? Does files really contain such filenames with weird char

Re: Multi-byte locales

2005-10-18 Thread Florian Weimer
* Michael Koch: > There is no GNU extension (yet) that van work around this that I'm aware > of. Do you think this (i.e. non-accessible files) is a problem at all? > You get the arguments as String[] args: > > byte[][] data = new byte[args.length][]; > for (int i = 0; i < args.length; i++) { >

Re: Multi-byte locales

2005-10-17 Thread Michael Koch
On Tue, Oct 18, 2005 at 12:11:30AM +0200, Florian Weimer wrote: > It seems that with Sun's JDK, some files are unaccessible if you run > in a multi-byte locale (something which uses UTF-8, for example) > because it's not possible to specify an UTF-16 string which is encoded > to the name of the fil

Multi-byte locales

2005-10-17 Thread Florian Weimer
It seems that with Sun's JDK, some files are unaccessible if you run in a multi-byte locale (something which uses UTF-8, for example) because it's not possible to specify an UTF-16 string which is encoded to the name of the file you are interested, provided that the file has a name which is not a v