# Re: Problem with Iconv

**URL:** <https://www.ruby-forum.com/t/re-problem-with-iconv/174440>\
**Category:** Ruby\
**Created:** [August 26, 2009, 7:24pm UTC](https://www.ruby-forum.com/t/re-problem-with-iconv/174440 "2009-08-26T19:24:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [August 26, 2009, 7:24pm UTC](https://www.ruby-forum.com/t/re-problem-with-iconv/174440/1 "2009-08-26T19:24:06Z")

</div>

Dear Joao,

you can update to Ruby 1.9, put the line

# coding: utf-8

at the beginning of a non-ASCII script.  
On Ubuntu 9.04 and ruby 1.9.1p243 (2009-07-16 revision 24175)  
[i686-linux],

I get

> zazolc gesla jazn

from your code.  
Otherwise, there will be unrecognised multibyte letters in the Polish  
input :

[http://redmine.ruby-lang.org/issues/show/1238](http://redmine.ruby-lang.org/issues/show/1238)

Best regards,

Axel
