Make better UTF compliant.
* grub-core/normal/charset.c (grub_utf8_to_utf16): Handle 6- and 7-byte sequences as incorrect. (grub_is_valid_utf8): Likewise. (grub_utf8_to_ucs4): Likewise. (grub_ucs4_to_utf8): Handle codepoints outside of BMP. (grub_ucs4_to_utf8_alloc): Likewise. * include/grub/charset.h (grub_utf16_to_utf8): Likewise.
This commit is contained in:
parent
f18088844f
commit
1afcc914c5
3 changed files with 33 additions and 33 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2010-11-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Make better UTF compliant.
|
||||
|
||||
* grub-core/normal/charset.c (grub_utf8_to_utf16): Handle 6- and 7-byte
|
||||
sequences as incorrect.
|
||||
(grub_is_valid_utf8): Likewise.
|
||||
(grub_utf8_to_ucs4): Likewise.
|
||||
(grub_ucs4_to_utf8): Handle codepoints outside of BMP.
|
||||
(grub_ucs4_to_utf8_alloc): Likewise.
|
||||
* include/grub/charset.h (grub_utf16_to_utf8): Likewise.
|
||||
|
||||
2010-11-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Make legacy_source behave like source.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue