Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

iconv docs

  • Loading branch information...
commit 6d5df3219064bd32171e61e7ac5392b077b09e15 1 parent 85b28c4
Michael Grosser authored
Showing with 9 additions and 6 deletions.
  1. +9 −6 lib/gettext/core_ext/iconv.rb
15 lib/gettext/core_ext/iconv.rb
View
@@ -19,13 +19,16 @@
begin
require 'iconv.so'
rescue LoadError
- # Pseudo Iconv class
- #
- # Provides Iconv.iconv which uses Ruby/GLib(1) functions. This library also required from 'gettext'.
- # If you require 'gettext/iconv', Iconv.iconv try to call Ruby/GLib function
- # when it doesn't find original Iconv class(iconv.so).
+ # Provides Iconv.iconv which normally is provided through Ruby/GLib(1) functions.
+ # This library is required for 'gettext'.
+ # If you require 'gettext/iconv', it tries to call Ruby/GLib function
+ # when it doesn't find original Iconv class(iconv.so) it adds a pseudo class.
#
- # (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).
# <URL: http://ruby-gnome2.sourceforge.jp/>
class Iconv
Please sign in to comment.
Something went wrong with that request. Please try again.