1
0
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:
Witold Filipczyk 2006-07-31 21:23:47 +02:00 committed by Witold Filipczyk
parent 2e818771d0
commit 5fd284d6a2

View File

@ -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)