Opened 4 years ago
Last modified 18 months ago
#2696 assigned defect
Some unit attributes in XML have non-ASCII space characters
Reported by: | Steve Loveless | Owned by: | Simon Cox |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | unit definitions | Keywords: | |
Cc: |
Description
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"
Attachments (1)
Change History (4)
comment:1 Changed 4 years ago by
Milestone: | Version 2.2 |
---|
comment:2 Changed 18 months ago by
Owner: | set to Simon Cox |
---|---|
Status: | new → assigned |
Changed 18 months ago by
Attachment: | ucum-essence.xml added |
---|
comment:3 Changed 18 months ago by
See attached version with the non-ascii space characters replaced. Propose to replace https://ucum.org/ucum-essence.xml with this file.
Note: See
TracTickets for help on using
tickets.
ucum-essence with non-ascii space symbols   replaces by ascii #20