Displaying 1 result from an estimated 1 matches for "j3mbeck".
2007 Aug 27
0
how can I get malformed UTF-8 characters to display properly?
...t; 127 ? "&##{s};" : s.chr) }.join("")
But it won''t work with these "malformed UTF-8" characters. So I''ve
written the following to handle these characters, but it still isn''t
perfect. For example, I scraped this page:
http://web.mac.com/j3mbeck/iWeb/JohnBeckPaper_Steel/Fireplace%20Surrounds.html
The alt attribute of the first thumbnail, steel surround, contains the
text "Steel has that effect where you''d least expect it". The ''
character shows up as Õ when I use the method below, and the "d" is
just...