ucum icon indicating copy to clipboard operation
ucum copied to clipboard

Some unit attributes in XML have non-ASCII space characters

Open timbrisc opened this issue 6 years ago • 5 comments

Issue migrated from trac ticket # 2696

component: unit definitions | priority: major

2018-06-06 18:22:59: [email protected] created the issue


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 H2O"
  • "m Hg"
  • "in H2O"
  • "in Hg"

timbrisc avatar Jun 06 '18 18:06 timbrisc