module RDoc::Text

def self.encode_fallback character, encoding, fallback

def self.encode_fallback character, encoding, fallback
  character.encode(encoding, :fallback => { character => fallback },
                   :undef => :replace, :replace => fallback)
end