]> git.proxmox.com Git - grub2.git/commit
* grub-core/normal/charset.c (grub_ucs4_to_utf8): Return number of
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 7 Apr 2012 18:11:04 +0000 (20:11 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 7 Apr 2012 18:11:04 +0000 (20:11 +0200)
commit851ffadac2c2817fa51410edaa800225bf04dd8c
treea45f4179a6da01190d59e7837f50944805f97bff
parent491c57a81544939ade0a0f31140cd7edbd3044fe
* grub-core/normal/charset.c (grub_ucs4_to_utf8): Return number of
written bytes.
(grub_get_num_of_utf8_bytes): New function.
(grub_ucs4_to_utf8_alloc): Use grub_get_num_of_utf8_bytes.
* grub-core/normal/menu_entry.c (run): Convert entry to UTF-8 before
executing it.
* include/grub/charset.h (grub_get_num_of_utf8_bytes): New proto.
(grub_ucs4_to_utf8): Change return type.
ChangeLog
grub-core/normal/charset.c
grub-core/normal/menu_entry.c
include/grub/charset.h