From: "NARUSE, Yui" Date: 2008-02-21T19:02:26+09:00 Subject: Re: Options for String#encode Hi, Martin Duerst wrote: > :hex_ncr - add problem characters to the output using XML/HTML > hex escapes (&#xhhhh;, unknown: only) > > :dec_ncr - add problem characters to the output using XML/HTML > dec escapes (&#ddddd;, unknown: only) Suffix "ncr" felt too short. :dec_charref and :dec_charref seems better. And I forgot to say at discussion, what's condition of C API for String#encode [ruby-dev:33247] (3). Regards, -- NARUSE, Yui DBDB A476 FDBD 9450 02CD 0EFC BCE3 C388 472E C1EA