Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 887547 Details for
Bug 926949
sys-apps/gptfdisk-1.0.9-r3: Broken UTF-16LE to UTF-8 conversion for partition name
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gptpart.cc: Fix Unicode to UTF-8 conversion in GetDescription
0001-gptpart.cc-Fix-Unicode-to-UTF-8-conversion-in-GetDes.patch (text/plain), 825 bytes, created by
Ulrich Müller
on 2024-03-13 19:55:10 UTC
(
hide
)
Description:
gptpart.cc: Fix Unicode to UTF-8 conversion in GetDescription
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2024-03-13 19:55:10 UTC
Size:
825 bytes
patch
obsolete
>From ade1729d1ca44b34678653fdf12e787e1afc5fd8 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org> >Date: Wed, 13 Mar 2024 20:38:37 +0100 >Subject: [PATCH] gptpart.cc: Fix Unicode to UTF-8 conversion in GetDescription > >--- > gptpart.cc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/gptpart.cc b/gptpart.cc >index 5fe7b5a..78f1206 100644 >--- a/gptpart.cc >+++ b/gptpart.cc >@@ -131,7 +131,7 @@ string GPTPart::GetDescription(void) { > } // if > else { > utf8 += (char) ( 0xf0 | ( uni >> 18 ) ) ; >- utf8 += (char) ( 0xe0 | ( ( uni >> 12 ) & 0x3f ) ) ; >+ utf8 += (char) ( 0x80 | ( ( uni >> 12 ) & 0x3f ) ) ; > utf8 += (char) ( 0x80 | ( ( uni >> 6 ) & 0x3f ) ) ; > utf8 += (char) ( 0x80 | ( uni & 0x3f ) ) ; > } // if >-- >2.44.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 926949
: 887547