Closed bs90 closed 1 year ago
I monkey patch the sanitize function and solve my problem. But please tell me if there is any another way to do it easier with default setting.
Could you provide the example of filenames which gets converted to _
? What encoding do they have?
I monkey patch the sanitize function
What change you made was effective?
Stale.
https://github.com/carrierwaveuploader/carrierwave/blob/master/README.md#filenames-and-unicode-chars I followed this but Japanese filename still became "____.pdf" after uploading. Can anyone help me? Thank you. (It seems that the regex is being default now https://github.com/carrierwaveuploader/carrierwave/blob/master/lib/carrierwave/sanitized_file.rb#L23 )