projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3d55db4
)
Require iconv directly as rails no longer loads it
author
Tom Hughes
<tom@compton.nu>
Tue, 21 Sep 2010 20:37:54 +0000
(21:37 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 14 Nov 2011 09:42:45 +0000
(09:42 +0000)
lib/utf8.rb
patch
|
blob
|
history
diff --git
a/lib/utf8.rb
b/lib/utf8.rb
index 5f0d219baa10293e104fb7decfa916ac0ea79100..90b8f0413e99237b7a808d1d397301da3e021442 100644
(file)
--- a/
lib/utf8.rb
+++ b/
lib/utf8.rb
@@
-1,3
+1,5
@@
+require 'iconv'
+
module UTF8
##
# Checks that a string is valid UTF-8 by trying to convert it to UTF-8