summaryrefslogtreecommitdiffstats
path: root/utf8.c
AgeCommit message (Collapse)Author
2023-12-09Add the const qualifier to some arrayspgen
2023-10-19Cleaning up the utf8.[ch] filespgen
2023-09-11Reformatting source codepgen
2022-06-02Switch to Mozilla Public License 2.0pgen
2022-04-19Remove an useless parameterpgen
\u and \U sequences should always be interpreted.
2022-04-03Some code simplificationspgen
2021-10-28Update the README filepgen
2021-09-06Improve compatibility with some older compilerspgen
2021-07-06Fix and rewrite cptoutf8 to make it more readablepgen
2021-04-27Various comment fixespgen
2021-04-16Fix a mismatch between signed and unsigned charspgen
2021-03-15Improve a commentpgen
2021-02-19Change the implementation of utf8_validatepgen
Thanks to Markus Kuhn for this code. The old implementation was not foolproof.
2021-01-25Typoespgen
2020-11-27Improve commentspgen
2020-11-13Improve commentspgen
2020-09-14Fix a potential dangling pointerpgen
2020-09-13Avoid compiler warningspgen
2020-09-13Reformat using ReflowComments='false'pgen
2020-08-03Typopgen
2020-08-01Allow to enter unicode UCS-4 codepoints using \Upgen
\U must be followed by exactly 6 hexadecimal digits with leading zeros if necessary.
2020-07-18Further UTF-8 entry fixespgen
2020-07-18Allow to change the substitution characterpgen
A pointer to the misc structure has to be passed to a certain number of functions for that, but this prepares the ground for future developments of this type. The code to interpret \u (UTF-8) sequences has also been made more robust for better manage incorrect entries.
2020-04-24Improve commentspgen
2019-01-20Add GPL2 license reminder where appropriatepgen
2019-01-20Rewrite the utf8_get_length functionpgen
One-byte character processing is now done first.
2018-10-11Various small changespgen
2018-10-01Create utf8.[ch] and change code accordinglypgen
Change multibyte to utf8 to specify that we only support UTF-8 encoding.