Forum Bugs

degree Celsius Unicode U+2103 replaced by plain C

I just came across an UTF-8 encoded HTML document that contains the degree Celsius Unicode character "℃" at U+2103. It is rendered silently as plain "C", not as the canonical decomposition "°C". (Test files are attached.)

Is there a workaround? (I mean, one except the obvious of using the canonical decomposition in HTML)?
  1. result.png4.8 kB
  2. test.html0.2 kB
    HTML input file
You could use the text-replace property to do the decomposition, like this:
p { prince-text-replace: '℃' '°C' }