1

Use unknown character symbol

This commit is contained in:
Alex Yatskov 2016-11-30 09:08:46 -08:00
parent 9c14f0fcb0
commit 0a5ec374c6

4
font.c
View File

@ -191,8 +191,8 @@ void font_stub_encode(char output[], int size, int code, const Font_Table* table
} }
while (0); while (0);
strncpy(output, "<?>", size); /* unable to decode, use output the unknown character symbol */
output[size - 1] = 0; encode_sequence(output, size, "\xef\xbf\xbd");
} }
void font_stub_decode(char output[], int size, const char input[]) { void font_stub_decode(char output[], int size, const char input[]) {