New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArgumentError: invalid byte sequence in UTF-8 #139
Comments
Hi there! Where you able to get this solved? I'm getting the exact same problem |
Can you send some code to reproduce this issue? I will reopen if I can get a repro. Thank you! |
@tenderlove this issue happened in Apache + Passenger when a file that was non-UTF-8 was uploaded. I cannot send you the code to reproduce the error because this error ocurred in the client environment and the project is now finished. I was able to bypass the error using Nginx + Unicorn. Thanks! |
I know this is an old one but I'm having this same issue currently on a Ruby 2.0.0 / Rails 3.2.21 project. Here's a simple case to reproduce - run the following in the Rails console: Psych.dump({"STATE"=>"Reykjav\xEDk"}) Here's the stack trace:
|
Hi.
I was trying to solve this problem for quite sometimes.
There error only happened on my production server but not my development machine with same data.
Here is my backtrace.
The text was updated successfully, but these errors were encountered: