I can not figure out whether this function allows you to do this?

I am trying to convert characters from 0-255 ( cp1251 ) to Unicode , and then make a surface for each character using the named function.

The problem is that for empty characters, the function returns NULL , and TTF_GetError () tells Text has zero width .

This is mistake? Or should I just check the result of the operation, and if a symbol of zero width is found, then this means that there is no surface for the symbol?

    0