[Mono-dev] Re: [Mono-list] Re: Mono.Unix Filename Marshaling
jonpryor at vt.edu
Wed Oct 26 21:58:18 EDT 2005
On Wed, 2005-10-26 at 19:25 +0200, Michal Moskal wrote:
> On 10/26/05, Jonathan Pryor <jonpryor at vt.edu> wrote:
> > I'm hoping that this scenario is sufficiently rare that things will Just
> > Work. If it isn't, I'll have to find a different escape character.
> > How's U+0001 sound (control character, START OF HEADING)? Something
> > else?
> How about U+0000? I guess this is the only one guarnteed not to be part
> of filename. Or maybe the UTF8 encoding of U+0000 is not \0?
I was avoiding U+0000 because I erroneously believed that if a string
containing U+0000 were printed to the console it would be truncated,
skipping everything after the U+0000. This is of course wrong, and I'm
not sure why I thought that.
I've updated svn so that U+0000 is the escape character.
More information about the Mono-devel-list