ucum-org / ucum

https://ucum.org
Other
55 stars 10 forks source link

Some unit attributes in XML have non-ASCII space characters #153

Open timbrisc opened 6 years ago

timbrisc commented 6 years ago

Issue migrated from trac ticket # 2696

component: unit definitions | priority: major

2018-06-06 18:22:59: steve.loveless@gmail.com 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 commented 6 years ago

2018-08-23 06:26:49: gschadow@pragmaticdata.com

timbrisc commented 3 years ago

2021-01-15 19:08:48: mitchbre@regenstrief.org changed status from new to assigned

timbrisc commented 3 years ago

2021-01-15 19:08:48: mitchbre@regenstrief.org set owner to Simon Cox

timbrisc commented 3 years ago

2021-01-17 22:45:30: simon.cox@csiro.au uploaded file ucum-essence.xml (82.3 KiB)

ucum-essence with non-ascii space symbols   replaces by ascii #20

timbrisc commented 3 years ago

2021-01-17 22:46:29: simon.cox@csiro.au commented


See attached version with the non-ascii space characters replaced. Propose to replace https://ucum.org/ucum-essence.xml with this file.