Implement iconv-style WideToUtf8().

This is used by SymbolIcon to convert the symbol ID (which is actually a
Unicode code point) to a UTF-8 string to be rendered.
Define namespace for definitions in standard way.