Enabled UTF-8 support in string functions
This commit is contained in:
parent
dce2af06aa
commit
f75f5223c3
|
@ -1,4 +1,5 @@
|
||||||
HEAD:
|
HEAD:
|
||||||
|
Wiki search handles multibyte (UTF-8) characters correctly
|
||||||
Ported to ActionPack
|
Ported to ActionPack
|
||||||
Madeleine will check every hour if there are new commands in the log or 24 hours have
|
Madeleine will check every hour if there are new commands in the log or 24 hours have
|
||||||
passed since last snapshot, and take snapshot if either of these conditions is true
|
passed since last snapshot, and take snapshot if either of these conditions is true
|
||||||
|
|
|
@ -3,6 +3,9 @@ if RUBY_VERSION < '1.8.1'
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Enable UTF-8 support
|
||||||
|
$KCODE = 'u'
|
||||||
|
|
||||||
RAILS_ROOT = File.expand_path(File.dirname(__FILE__) + '/../') unless defined? RAILS_ROOT
|
RAILS_ROOT = File.expand_path(File.dirname(__FILE__) + '/../') unless defined? RAILS_ROOT
|
||||||
RAILS_ENV = ENV['RAILS_ENV'] || 'production' unless defined? RAILS_ENV
|
RAILS_ENV = ENV['RAILS_ENV'] || 'production' unless defined? RAILS_ENV
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue