Skip to content

Commit

Permalink
iconv docs
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Feb 23, 2009
1 parent 85b28c4 commit 6d5df32
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions lib/gettext/core_ext/iconv.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@
begin begin
require 'iconv.so' require 'iconv.so'
rescue LoadError rescue LoadError
# Pseudo Iconv class # Provides Iconv.iconv which normally is provided through Ruby/GLib(1) functions.
# # This library is required for 'gettext'.
# Provides Iconv.iconv which uses Ruby/GLib(1) functions. This library also required from 'gettext'. # If you require 'gettext/iconv', it tries to call Ruby/GLib function
# If you require 'gettext/iconv', Iconv.iconv try to call Ruby/GLib function # when it doesn't find original Iconv class(iconv.so) it adds a pseudo class.
# when it doesn't find original Iconv class(iconv.so).
# #
# (1) Ruby/GLib is a module which is provided from Ruby-GNOME2 Project. # One-click Ruby Installer for Win32 hadn’t had iconv and there hadn’t been a way to install iconv.so itself for Win32.
# And JRuby hadn’t had Iconv.
# I’ve not checked them currently, but if they’ve supported iconv now, we don’t need this anymore...
#
# (1) Ruby/GLib is a module which is provided from Ruby-GNOME2 Project.
# You can get binaries for Win32(One-Click Ruby Installer). # You can get binaries for Win32(One-Click Ruby Installer).
# <URL: http://ruby-gnome2.sourceforge.jp/> # <URL: http://ruby-gnome2.sourceforge.jp/>
class Iconv class Iconv
Expand Down

0 comments on commit 6d5df32

Please sign in to comment.