Use unknown character symbol
This commit is contained in:
parent
9c14f0fcb0
commit
0a5ec374c6
4
font.c
4
font.c
@ -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[]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user