0

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.

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by kallin
0

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" />
0

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>

Edited by peter_budo: Keep It on The Site - Do not manually post &quot;fake&quot; signatures in your posts.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.