colinta / SublimeStringEncode

Converts characters from one "encoding" to another using a transformation (think HTML entities, not character encodings)
Other
150 stars 22 forks source link

Decode XHTML/XML numeric character references #31

Closed elmimmo closed 6 years ago

elmimmo commented 8 years ago

html_deentitize and xml_deentitize should decode numeric character references but they don't.

colinta commented 8 years ago

Can you paste some examples of characters you expected to have encoded?

elmimmo commented 8 years ago

For instance, Σ should decode to Σ with both html_deentitize and xml_deentitize.

The Hasher module, installable via Package Manager, has the menu command "Hasher: Entity Decode" which does convert that to a greek letter just fine.

oleg-babintsev commented 6 years ago

+1 Problem is actual for me too.

colinta commented 6 years ago

Ah gotcha, I didn't have support for decimal encoding (Σ == Σ, which does deentitize as expected). Fixed in 2.2.3.