Ruby 1.8.6
Rails 2.3.2
The DB is runnig with UTF-8 codification.
I need to export some text field from the DB to TXT file for import
with another app runnig under DOS (no comments please...). I am having
problems exporting texts containing chars like á, ú or é.
Here an example os the behaviour:
#code
require ''iconv''
text = ''aeú''
Iconv.new(''ascii//translit'',
''utf-8'').iconv(text) -> Raise an error.
Iconv.new(''ascii//ignore'',
''utf-8'').iconv(text) -> ''ae'' (ú was
truncated)
How can I convert chars (like ú), with ASCII codification greater than
127, correspondig with the EXTENDED ASCII charset ?
Thanks
Fabian
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.