jruby dragonfly gem - "incompatible character encodings: UTF-8 and ASCII-8BIT" when open file with special characters -


i'm newbie in jruby, i'm working on jruby app use dragonfly gem handle image upload.

the problem here when uploading zip file (called abc.zip) containing file name "nür ümläütö.png", .png file first stored in /tmp directory. gem instead of looking path "/tmp/nür ümläütö.png.4483.14119", looks path "/tmp/n\u00c3\u0083\u00c2\u00bcr \u00c3\u0083\u00c2\u00bcml\u00c3\u0083\u00c2\u00a4\u00c3\u0083\u00c2\u00bct\u00c3\u0083\u00c2\u00b6.png.4483.14119" doesn't exist. , doesn't happen if use native ruby. have done lots of googling on last 2 days no progress

i don't know , why problem happens, please shed lights me!


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -