int wc_EncodeNameCanonical(EncodedName* name, const char* nameStr, char nameType,
        byte type)
{
    return wc_EncodeName_ex(name, nameStr, nameType, type, 0x0c/* CTC_UTF8 */);
}
int wc_EncodeNameCanonical(EncodedName* name, const char* nameStr, char nameType,
        byte type)
{
    return wc_EncodeName_ex(name, nameStr, nameType, type, 0x0c );
}