well heres some more code i found, which does the conversion. Now i just need to go the other way
string = "Nome do servi\347o" puts string.gsub(/.$/u, '') regex = Regexp.new(/..../u) --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6766&messageID=19515#19515 _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general