[xml] Wrong entity reference



Hello,

I need to include a degree sign (°) in an attribute. I tried both
(encoding UTF-8)

 <foo label="360°+/>

and 

 <foo label="&#0176;/>

but xmlGetProp() always returns 

 "360°" (that is, "360" + 'A' with a circumflex + degree sign).

Is there anything I'm missing ?

Regards,

Daniel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]