xml escaped version of chr.
xml escaped version of chr
239 240 241 242 243 244 245 246 247
# File 'lib/rfeedparser/encoding_helpers.rb', line 239 def xchr n = XChar::CP1252[self] || self case n when *XChar::VALID XChar::PREDEFINED[n] or (n<128 ? n.chr : "&##{n};") else '*' end end