Opened 2 years ago

Last modified 2 years ago

#2696 new defect

Some unit attributes in XML have non-ASCII space characters

Reported by: Steve Loveless Owned by:
Priority: major Milestone:
Component: unit definitions Keywords:


Some unit names in XML have non-ASCII space characters, and in some cases mix ASCII and non-ASCII space characters. The use of non-ASCII space characters seems incorrect (and can lead to unexpected behavior when dealing with the text). The following contain such:

In name:

  • "Queen Anne's wine gallon" (first space is non-ASCII)
  • "calorie at 15 °C" (space after the 15)
  • "calorie at 20 °C" (space after the 20)
  • "British thermal unit at 39 °F" (space after the 39)
  • "British thermal unit at 59 °F" (space after the 59)
  • "British thermal unit at 60 °F" (space after the 60)

In printSymbol:

  • "m H<sub><r>2</r></sub>O"
  • "m Hg"
  • "in H<sub><r>2</r></sub>O"
  • "in Hg"

Change History (1)

comment:1 Changed 2 years ago by Gunther Schadow

Milestone: Version 2.2
Note: See TracTickets for help on using tickets.