summaryrefslogtreecommitdiff
path: root/tests/t0251-gpt-unicode.sh
Commit message (Collapse)AuthorAgeFilesLines
* maint: Update copyright statements to 2022Brian C. Lane2022-03-231-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2021Brian C. Lane2021-01-181-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2020Brian C. Lane2020-12-111-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2019Brian C. Lane2019-08-121-1/+1
| | | | By running make update-copyright
* tests: Fall back to C.UTF-8 if no en_US.utf8 availableAlexander Todorov2015-06-241-1/+5
| | | | | | | | | Not all distributions (Fedora) have C.UTF-8 so first try en_US.utf8 and fall back to it. This may still fail if neither exist. * tests/t0251-gpt-unicode.sh: Test for en_US and fall back to C.UTF-8 Signed-off-by: Brian C. Lane <bcl@redhat.com>
* tests: don't require en_US locale in t0251-gpt-unicode.shPhillip Susi2014-07-271-1/+1
| | | | | Switch from en_US.UTF-8 to C.UTF-8 so the test does not fail on systems that do not have the en_US locale installed.
* maint: run "make update-copyright"Jim Meyering2014-05-251-1/+1
|
* GPT strings are UCS-2LE not UTF-16Brian C. Lane2014-05-191-1/+1
| | | | | | | | | | There was a problem using UTF-16, it was writing the Byte Order Mark before the string which caused problems with older versions of parted reading the partition name. The test was skipping these 2 bytes when checking the written string. * libparted/labels/gpt.c: Switch to UCS-2LE for GPT Partition names * tests/t0251-gpt-unicode.sh: Update the test
* bug#15591: [PATCH] libparted: handle i18n gpt partition names correctlyPhillip Susi2013-12-231-0/+38
gpt.c was simply truncating the UTF-16 characters stored in the partition name field to 8 bits. This corrupted non ascii characters which later resulted in parted crashing in strlist.c trying to convert the now invalid multi byte characters to wchar. gpt.c will now properly convert the UTF-16 to the current locale encoding.