Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Converting ö to o, ü to u, encoding
Kenny Lee
5/23/2008 7:47:00 AM
Hi guys,
Does any1 have a ruby snippet to do the conversion? Probably using the
iconv lib?
Best Wishes.
--
Posted via
http://www.ruby-...
.
1 Answer
Kenny Lee
5/23/2008 8:01:00 AM
0
Kenny Lee wrote:
> Hi guys,
>
> Does any1 have a ruby snippet to do the conversion? Probably using the
> iconv lib?
>
> Best Wishes.
Sorry,
Should have googled it.
http://tinyurl...
w = Iconv.conv('ascii//translit', 'utf-8', 'kierkegård')
w = w.delete("\"")
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Converting ö to o, ü to u, encoding
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password