Prev: Rope Gem
Next: NTLM authentication with httpclient
From: Kareem Abd-Elmageed on 27 Feb 2010 14:18 [Note: parts of this message were removed to make it a legal post.] hi , is jcode supported in Ruby1.9.1 ? and if it dosen't supported how we can specify the character encoding to uses in rb file ?
From: Michael Fellinger on 1 Mar 2010 11:35 On Sun, Feb 28, 2010 at 4:18 AM, Kareem Abd-Elmageed <mutati0n.313(a)gmail.com> wrote: > hi , > is jcode supported in Ruby1.9.1 ? > and if it dosen't supported how we can specify the character encoding to > uses in rb file ? It was deprecated. You usually set the encoding at the top of your file, with a magic comment like: # Encoding: UTF-8 For more information about the new encoding features of 1.9, see http://blog.grayproductions.net/articles/understanding_m17n -- Michael Fellinger
|
Pages: 1 Prev: Rope Gem Next: NTLM authentication with httpclient |