[haiku-bugs] [Haiku] #13618: Haiku lacks support for a locale-sensitive decimal point.

  • From: "owenca" <trac@xxxxxxxxxxxx>
  • Date: Sat, 22 Jul 2017 10:12:41 -0000

#13618: Haiku lacks support for a locale-sensitive decimal point.
-------------------------------------------------+-------------------------
 Reporter:  owenca                               |        Owner:
                                                 |  pulkomandy
     Type:  bug                                  |       Status:  new
 Priority:  normal                               |    Milestone:  R1/beta1
Component:  Kits/Locale Kit                      |      Version:
 Keywords:  BFormattingConventions,              |  R1/Development
  BFloatFormat,                                  |   Blocked By:
  BGenericNumberFormat::FractionSeparator()      |
 Blocking:                                       |  Has a Patch:  0
 Platform:  All                                  |
-------------------------------------------------+-------------------------
 It seems that Haiku does not set the default decimal-point character based
 on the current locale. For example, if the current locale is English, the
 decimal point should be set to the dot character {{{'.'}}}; if German, the
 comma character {{{','}}}.

 One possible reason is that
 {{{BFormattingConventions::GetNumericFormat(BString& outFormat)}}}
 is not implemented according to its
 
[https://github.com/haiku/haiku/blob/master/src/kits/locale/FormattingConventions.cpp#L535
 source code].

--
Ticket URL: <https://dev.haiku-os.org/ticket/13618>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: