[TxMt] Convert selection to entity

Allan Odgaard throw-away-1 at macromates.com
Fri Dec 30 23:25:36 UTC 2005


On 30/12/2005, at 14:29, Christian Alexander Mueller wrote:

> Where is the solution I missed in the manual?

http://macromates.com/textmate/manual/commands.html

You can convert non-ASCII characters to numeric entities e.g. from Ruby:

ruby -KU -pe 'gsub(/[^\x00-\x7F]/) { |m| "&##{m.unpack("U")};" }'





More information about the textmate mailing list