getCharByDec(): Returns a char by its code (considering UTF-16 surrogate pairs)