This is probably totally obvious, but did you try any of these:

%q/Geben Sie Ihre Telefonnümmer (tags ber)/

%Q!Geben Sie Ihre Telefonnümmer (tags ber)!

%Q{Geben Sie Ihre Telefonnümmer (tags ber)}

 

Also, make sure your font set actually has fonts for those characters.  In my experience if a font set does not have a character to represent a font in a given string the system replaces it with the ‘box’ character.

 

My $0.02 ;-)

 

--Mark

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers
Sent: Tuesday, August 01, 2006 5:11 PM
To: [email protected]
Subject: [Wtr-general] german chars in the browser

 

 

my web page contains "Geben Sie Ihre Telefonnummer (tags�ber)" 

In case it doesnt show correctly, near the end is a u with 2 dots above it. Im sure there is a correct term, but Im no linguist.

 

If I do:

ie.text

I get

 

=> "Geben Sie Ihre Telefonnummer (tags\374ber"

 

Can any one suggest a work around, solution etc? Im sure there are other letters that will do the same thing.

 

Im thinking along the lines of

class IE

def text_with_no_escape_sequence

    retun self.text.gsub("\374" , "�")

end

 

and do the same for other chars. Im sure there is a better way though.

 

 

Paul

 

_______________________________________________

Wtr-general mailing list

[email protected]

http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to