string decode_charset(string data, string charset)
This function is called by cpp() when it wants to do character code conversion.