Re: [gtoad-devel] German characters in gpx output
Brought to you by:
helixblue
From: Russell T. <mtn...@gm...> - 2004-10-06 18:46:52
|
On Tue, 5 Oct 2004 08:03:01 -0500, Thomas Stromberg <th...@st...> wrote: > > I don't know what query you were trying to run, but I think changing > this line in geocache/search.rb from: > > name = CGI.unescapeHTML(name); > to: > name.gsub!(""", "\""); > > Should fix the problem. Let me know if it does, and I'll be sure to get > this into 3.7.6. > The replacement line was not working with double quotes so I tried single quotes. Subbing the double quote character caused other issues so I just dropped the quote all together. name.gsub!('"', ''); Still having trouble with the other &#xxxx; characters as shown below. The first is a single quote, the second is a dash. GPX Description field: Scott’s Mill Puzzle – Apex Triple Threat by GeoCyclist (adopted by horsegeeks), Unknown Cache (3.0/1.5) I'm now trying to find out where the &#xxxx characters are first translated. -R Russell Teague http://mtnbike.org If you don't see the battle, you are not in the fight. |