Displaying 4 results from an estimated 4 matches for "kconv".
Did you mean:
iconv
2008 Jul 17
3
Convert data to utf-8
Hello, I''m trying to find a solution to convert everything returned by
mechanize to utf-8, no matter if the original page is utf-8 or iso and I
really don''t know where to start from...
agent = WWW::Mechanize.new { |a| a.log =
Logger.new(File::join(RAILS_ROOT, "log/mechanize.log")) }
one_page = agent.get("www.google.fr")
My first problem is that one_page
2005 Aug 10
24
Multilingual Rails v0.5. Big update!
...m charset to UTF-8
Easy pluralization of strings!
Configurable ISO 3166 code type to use. Can
be :numeric, :alpha2 or :alpha3. Default is numeric.
All configuration options moved to your environment files.
Don''t edit lib/multilingual.rb anymore.
Load jcode + kconv and set $KCODE = ''u'' on startup.
Overloaded Kconv .toeuc, .tosjis etc methods to use the faster
C-based Iconv equivalents.
Major code cleanup.
Extensive unit tests for all announced features.
A brief description of the new features. More detailed informatio...
2005 Aug 13
9
Multilingual Rails v0.6
...erface buttons) are standardized and
supposed to be available in all languages:
:true, :false, :yes, :no, :on, :off, :next, :previous, :back, :fo
rward, :skip, :cancel, :abort,
:quit, :save, :discard, :reset, :delete, :edit
* Spanish translation added
* No longer overload the Kconv methods because they handle a few
cases that Iconv doesn''t.
My knowledge of Japanese and other asian languages is VERY limited.
If you Japanese guys think that the way
MLR integrates compose/decompose/normalize right now is wrong/
backwards, please tell me right now so I can
make a...
2006 Mar 21
2
How do I get substring of utf-8 string?
I''m trying to get substring from a utf-8 encoded string. (say, first
50 characters of the string) String#[0..49] would give me the first
50 bytes not 50 characters..
I know there is jcode library, but it only let you count number of
characters in utf-8 string.
unicode gem doesn''t seem to help much. unicode_hacks gem seem to
solve the problem, but it also seems to