mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
73f925ce21
When the file is being read, Expat provides the strings to ELinks in UTF-8, so ELinks can put them in struct bookmark without conversions. Make sure gettext returns any placeholder strings in UTF-8, too. Replace '\r' with ' ' in bookmark titles and URLs. When the file is being written, put encoding="UTF-8" in the XML declaration, and then write out the strings from struct bookmark without character set conversions. Do replace some characters with entity references though, by calling add_html_to_string(). |
||
---|---|---|
.. | ||
gettext | ||
charsets.c | ||
charsets.h | ||
codepage.inc | ||
entity.inc | ||
Makefile | ||
uni_7b.inc |