method

replacement=

v1_9_2_180 - Show latest stable - Class: Encoding::Converter
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”