Vote #78706
完了Corrupted file name when exporting a wiki page with Non-ASCII title using Microsoft's browsers
0%
説明
Steps to reproduce:
- Create a wiki page with Non-ASCII title (e.g. "日本語").
- Open the wiki page using Microsoft Edge or Internet Explorer.
- Click "TXT" in "Also available in" area.
- The page will be exported but its file name is corrupted.
!currepted-filename.png!
journals
--------------------------------------------------------------------------------
Patch for this issue.
--------------------------------------------------------------------------------
If you write non ascii characters in source, you need to encode "\xnn" or add "# encoding: utf-8" header for Ruby version compatibility.
source:tags/3.3.4/test/unit/lib/redmine/i18n_test.rb#L192
source:tags/3.3.4/test/unit/helpers/application_helper_test.rb#L1
--------------------------------------------------------------------------------
Committed in trunk, 3.4-stalbe, and 3.3-stable, thanks.
--------------------------------------------------------------------------------