CIM Issues #7070
Special characters in the UnitSymbol
61970-301
Description
We have not removed spesial characters in the UnitSymbol name. However, that are still spesial characters in the description. This needs spesial handling in tools that generate automatic from the export. We should consider replacing the character with plain ASCII. The following characters are used: {('é', 'LATIN SMALL LETTER E WITH ACUTE'), ('ó', 'LATIN SMALL LETTER O WITH ACUTE'), ('°', 'DEGREE SIGN'), ('Þ', 'LATIN CAPITAL LETTER THORN'), ('”', 'RIGHT DOUBLE QUOTATION MARK'), ('“', 'LEFT DOUBLE QUOTATION MARK'), ('·', 'MIDDLE DOT'), ('³', 'SUPERSCRIPT THREE'), ('’', 'RIGHT SINGLE QUOTATION MARK'), ('í', 'LATIN SMALL LETTER I WITH ACUTE'), ('²', 'SUPERSCRIPT TWO'), ('ã', 'LATIN SMALL LETTER A WITH TILDE')}
Some of the UnitSymbole, UnitSymbole.J "Energy in joules (N·m = C·V = W·s)."
Files
Proposed Solution
Update the spesial signe with plain ASCII as follow:
Character Unicode Description Replaced with
’ U+2019 RIGHT SINGLE QUOTATION MARK '
² U+00B2 SUPERSCRIPT TWO ^2
é U+00E9 LATIN SMALL LETTER E WITH ACUTE e
ã U+00E3 LATIN SMALL LETTER A WITH TILDE a
“ U+201C LEFT DOUBLE QUOTATION MARK "
í U+00ED LATIN SMALL LETTER I WITH ACUTE i
³ U+00B3 SUPERSCRIPT THREE ^3
° U+00B0 DEGREE SIGN deg
Þ U+00DE LATIN CAPITAL LETTER THORN Th
· U+00B7 MIDDLE DOT *
” U+201D RIGHT DOUBLE QUOTATION MARK "
ó U+00F3 LATIN SMALL LETTER O WITH ACUTE o
Decision
Based on the TF13 discussion on 4 Dec 2024, Proposed solution was applied for Grid package
Release Notes
Special characters were fixed in the Base package