[haiku-bugs] Re: [Haiku] #12824: [Patch] partitioning_systems/gpt/utility.cpp: Fix clang warnings

  • From: "jessicah" <trac@xxxxxxxxxxxx>
  • Date: Thu, 23 Jun 2016 22:17:51 -0000

#12824: [Patch] partitioning_systems/gpt/utility.cpp: Fix clang warnings
----------------------------------------+----------------------------
   Reporter:  mt                        |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  Unscheduled
  Component:  Partitioning Systems/GPT  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by jessicah):

 Hmm, looking at the source code for GPT fdisk, it explicitly supports UTF-
 16LE rather than UCS-2. The UEFI spec (checked v2.6) on GPT itself doesn't
 specify use of UCS-2 or UTF-16LE. Wikipedia also specifies UTF-16LE rather
 than UCS-2. Windows also seems to allow using UTF-16LE encoded volume
 labels for partitions.

 So, I think we should support UTF-16LE here like other systems seem to do.
 Parted seems to be in the minority. If you don't feel comfortable with
 implementing, I can add it to my TODO list :)

--
Ticket URL: <https://dev.haiku-os.org/ticket/12824#comment:6>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: