mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Bugs 879, 928, 947: Specially map U+00A0 and U+00AD in translation tables.
This commit is contained in:
parent
0b7a56f89a
commit
da3c8c5ce2
@ -909,6 +909,10 @@ get_translation_table(int from, int to)
|
||||
if (is_cp_ptr_utf8(&codepages[from])) {
|
||||
int i;
|
||||
|
||||
/* Map U+00A0 and U+00AD the same way as u2cp() would. */
|
||||
add_utf8(table, UCS_NO_BREAK_SPACE, strings[NBSP_CHAR]);
|
||||
add_utf8(table, UCS_SOFT_HYPHEN, "");
|
||||
|
||||
for (i = 0x80; i <= 0xFF; i++)
|
||||
if (codepages[to].highhalf[i - 0x80] != 0xFFFF)
|
||||
add_utf8(table,
|
||||
|
Loading…
Reference in New Issue
Block a user