K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-29T20:06:53.138214Z K 7 svn:log V 435 When deciding which characters (of a filename, for instance) are safe to print, try to take into account the current locale. This iterates over output strings using mbtowc() to identify multi-byte sequences. If iswprint() claims the corresponding wide character is printable, the original bytes are passed through. Otherwise, we expand characters into C-style \-escape sequences. Submitted by: Michihiro NAKAJIMA MFC after: 30 days END