This project is archived and is in readonly mode.
framework crashes on launch 'iconv': invalid encoding ("ascii//translit//IGNORE", "utf-8") (Iconv::InvalidEncoding)
-
James Kebinger
- Title changed from crash on server launch `iconv': invalid encoding ("ascii//translit//IGNORE", "utf-8") (Iconv::InvalidEncoding) to server crashes on launch 'iconv': invalid encoding ("ascii//translit//IGNORE", "utf-8") (Iconv::InvalidEncoding)
-
Rob Anderton
- Tag changed from 2.2, encoding, iconv, inflector, invalid to 2.2, bug, encoding, iconv, inflector
I'm getting the same with Edge on Windows XP with Ruby 1.8.6 and iconv 1.9. It doesn't just stop the server from working, anything that uses the framework (e.g. rake tasks) also breaks.
The fix suggested by James works on Windows too.
-
Rob Anderton
- Title changed from server crashes on launch 'iconv': invalid encoding ("ascii//translit//IGNORE", "utf-8") (Iconv::InvalidEncoding) to framework crashes on launch 'iconv': invalid encoding ("ascii//translit//IGNORE", "utf-8") (Iconv::InvalidEncoding)
-
Pratik
- Assigned user set to Michael Koziarski
- Milestone cleared.
-
Repository
- State changed from new to resolved
(from [e0993c6c376d62716757a8a7f476ed0c369d0fc7]) Reverse the order of the iconv arguments to remain compatible with older rubies / iconvs.
[#1195 framework crashes on launch 'iconv': invalid encoding ("ascii//translit//IGNO... state:resolved] http://github.com/rails/rails/co...
-
Repository
- State changed from resolved to committed
(from [757e4364dc3f808f0002a6c8cb03531e69e2f356]) Fix: counter_cache should decrement on deleting associated records.
[#1195 framework crashes on launch 'iconv': invalid encoding ("ascii//translit//IGNO... state:committed]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
-
Repository
(from [c9e176de78067c5941233b12686276d3016fbb38]) Fix: counter_cache should decrement on deleting associated records.
[#1195 framework crashes on launch 'iconv': invalid encoding ("ascii//translit//IGNO... state:committed]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
-
Repository
(from [05f2183747c8e75c9e8bbaadb9573b4bdf41ecfc]) Fix: counter_cache should decrement on deleting associated records.
[#1195 framework crashes on launch 'iconv': invalid encoding ("ascii//translit//IGNO... state:committed]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
-
explorer-lighthouse-skandragon (at flame)
- Tag changed from 2.2, bug, encoding, iconv, inflector to 2.2.2, bug, encoding, iconv, inflector
I believe this fix is not complete. On NetBSD, I get this:
irb(main):003:0> Iconv.iconv('ascii//ignore//translit', 'utf-8', 'test') Iconv::InvalidEncoding: invalid encoding ("ascii//ignore//translit", "utf-8")
from (irb):3:in `iconv' from (irb):3 from :0This is using the built-in libc version of the iconv library, built on a fairly recent NetBSD source tarball.
-
Michael Koziarski
- State changed from committed to open
That changeset has nothing to do with this ticket
-
Repository
- State changed from open to committed
(from [3c006d428b3d3d306185f620cce3821b1bdb636f]) Handle every error that can come out of the Iconv branch by rescuing and returning nil
[#1195 framework crashes on launch 'iconv': invalid encoding ("ascii//translit//IGNO... state:committed]
Conflicts:
activesupport/lib/active_support/inflector.rb -
Repository
(from [4e4f961c112f1ffac73a1397d94dfbb4a10effae]) Handle every error that can come out of the Iconv branch by rescuing and returning nil
[#1195 framework crashes on launch 'iconv': invalid encoding ("ascii//translit//IGNO... state:committed] http://github.com/rails/rails/co...
-
David Reese
Commit 3c006d428b3d3d306185f620cce3821b1bdb636f (rails 2.2), rails errors out -- the line should be if, not elseif.