From: matt@... (matt neuburg) Date: 2008-07-12T00:00:53+09:00 Subject: Re: Unescape xml element content Jon Stenqvist wrote: > Is there a way to unescape this string? > > Lätt B bed. Två omgångar A:0 och A:0 I think this works correctly: require 'rexml/document' s = "Lätt B bed. Två omgångar A:0 och A:0" puts REXML::Text::unnormalize(s) m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Leopard - http://www.takecontrolbooks.com/leopard-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com