I have some web page which contains accented words (in french/italian etc) which I need to parse/extract and display. But the
internationalization is not being taken into consideration so crazy
characters are being shown. I searched in google for ruby
internationalization but came up with rails internationalization. As you know that I don't need rails right now (which btw, I have no knowledge in). I just need to work in plain ruby. I don't know how
internationalization is dealt with in regular ruby. Can someone throw some light on this?

Thanks.

I suppose your problem is simply that you're not, by HTML, setting the charset?
Try putting the following in the head area of your HTML output, or just output it at top if you don't have any advanced HTML yet.

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

This topic is two months old!?

Hi,

I know something about that are as following :
o Official Rails i18 website
o Finally. Ruby on Rails gets internationalized
o Localizing Rails : Demo application
Go through and get your answer.

Thanks !


______________________

<FAKE SIGNATURE>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.