Subject: Re: a proposal for two new libc functions: shquote() and shquotev()
To: None <sommerfeld@orchard.arlington.ma.us>
From: None <itojun@iijlab.net>
List: tech-userlevel
Date: 03/05/2001 07:42:14
>> 	if we do not use mbrtowc() over localized string, we will make mistakes
>> 	because some of stateful encodings include "$" and "\" in multibyte
>> 	character streams (they are part of multibyte stream, so they should 
>> 	not be escaped).
>I'll note in passing that, on a -current system with mbrtowc() in
>wchar.h, that there is no man page installed for mbrtowc() (and
>possibly not for any of the other wchar.h functions); this makes it
>difficult for someone unfamiliar with these API's to learn them on
>NetBSD and start writing multibyte-aware code..

	oops, i really need to find some freely-redistributable manpage text
	for them...
	i don't want to slow you down, so please feel free to go ahead
	with C locale-only code.  i'll be able to update the code (some #ifdef?)
	as soon as it gets committed.

itojun