Flowdock
method

replacement=

Importance_1
replacement=(p1) public

Sets the replacement string.

ec = Encoding::Converter.new("utf-8", "us-ascii", :undef => :replace)
ec.replacement = "<undef>"
p ec.convert("a \u3042 b")      #=> "a <undef> b"
Show source
Register or log in to add new notes.