mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-12 00:34:47 -04:00
Bug 879, u2cp_: Use UCS_NO_BREAK_SPACE instead of 0xa0.
This commit is contained in:
parent
d18fc9f33d
commit
e11b784067
@ -185,7 +185,7 @@ u2cp_(unicode_val_T u, int to, enum nbsp_mode nbsp_mode)
|
||||
|
||||
/* To mark non breaking spaces in non-UTF-8 strings, we use a
|
||||
* special char NBSP_CHAR. */
|
||||
if (u == 0xa0) {
|
||||
if (u == UCS_NO_BREAK_SPACE) {
|
||||
if (nbsp_mode == NBSP_MODE_HACK) return NBSP_CHAR_STRING;
|
||||
else /* NBSP_MODE_ASCII */ return " ";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user