
On Fri, 4 Jun 2010 07:06:01 -0400, Beman Dawes wrote:
On Fri, Jun 4, 2010 at 3:57 AM, Sylvain Pointeau <sylvain.pointeau@gmail.com> wrote:
Would it be possible to have some constructors (or static functions) to create a path from an UTF-8 or UTF-16 string? ... Now it would also be possible to provide a constructor, etc, that takes a locale, but is that worth cluttering the interface? I went back and forth, on that, but the use cases I could think of were not very compelling.
For my puroses it would be nice to be able to set a per-path locale rather than a global one. This way, my SFTP paths, which are only ever displayed to the user, can be held in paths that deal in UTF-8/UTF-16 without forcing that upon other use of class path. These other uses can, for example, continue to use local-codepage/UTF-16 making them suitable for passing to Windows API functions. Alex