[TxMt] Escape character entities to numerical references?

Neil Lee neil at hushboom.com
Thu Aug 3 13:43:33 UTC 2006


Le 06-08-03 à 08:37:12, Allan Odgaard a écrit :

> Change line 11 from:
>     ent = $char_to_entity[ch]
>
> To:
>     ent = nil

Thanks, Allan -

I did this and now my character entities are being encoded in  
hexadecimal, which isn't quite what I was looking for.

For example, the copyright symbol should be © and now it's being  
converted to ©.

Is there any way to get the decimal equivalents? My understanding is  
they're the most widely supported.

Thanks,

Neil
-- 
Slumming at the BeatnikPad: http://www.beatnikpad.com/
The person you love is 72.8% water.






More information about the textmate mailing list