mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
The value of UCS_NO_CHAR was bad. There must not be a possibility
to encode it using utf_8_to_unicode. If every unicode_val_T value could be a result of that function then one must add out param to the utf_8_to_unicode signaling 'true' UCS_NO_CHAR.
This commit is contained in:
parent
2e818771d0
commit
5fd284d6a2
@ -4,7 +4,7 @@
|
||||
typedef uint32_t unicode_val_T;
|
||||
|
||||
/* UCS/Unicode replacement character. */
|
||||
#define UCS_NO_CHAR ((unicode_val_T) 0xFFFD)
|
||||
#define UCS_NO_CHAR ((unicode_val_T) 0xFFFFFFFD)
|
||||
|
||||
/* replacement character. See u2cp(). */
|
||||
#define NBSP_CHAR ((unsigned char) 1)
|
||||
|
Loading…
Reference in New Issue
Block a user