about them.tags/v0.99.beta14
| @@ -449,7 +449,12 @@ static void ncurses_write_utf32(uint32_t ch) | |||||
| buf[bytes] = '\0'; | buf[bytes] = '\0'; | ||||
| addstr(buf); | addstr(buf); | ||||
| #else | #else | ||||
| addch(ch < 0x80 ? ch : '?'); | |||||
| if(ch < 0x80) | |||||
| addch(ch) | |||||
| else if(cucul_utf32_is_fullwidth(ch)) | |||||
| addstr("? "); | |||||
| else | |||||
| addch('?'); | |||||
| #endif | #endif | ||||
| } | } | ||||
| @@ -461,7 +461,12 @@ static void slang_write_utf32(uint32_t ch) | |||||
| buf[bytes] = '\0'; | buf[bytes] = '\0'; | ||||
| SLsmg_write_string(buf); | SLsmg_write_string(buf); | ||||
| #else | #else | ||||
| SLsmg_write_char(ch < 0x80 ? ch : ' '); | |||||
| if(ch < 0x80) | |||||
| SLsmg_write_char(ch) | |||||
| else if(cucul_utf32_is_fullwidth(ch)) | |||||
| SLsmg_write_string("? "); | |||||
| else | |||||
| SLsmg_write_char('?'); | |||||
| #endif | #endif | ||||
| } | } | ||||