How do I writefln a string from ASCII file contained illegal UTF-8 characters, but legal as ASCII? For example ndash symbol - ASCII 0x96). Is there a standard routine to convert such ASCII characters to UTF, or other way to get valid UTF string from arbitrary raw data? Filter or substitute bad characters, etc... -- serg.