Project

General

Profile

Actions

Defect #26599

closed

Corrupted file name when exporting a wiki page with Non-ASCII title using Microsoft's browsers

Added by Go MAEDA about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Steps to reproduce:

1. Create a wiki page with Non-ASCII title (e.g. "日本語").
2. Open the wiki page using Microsoft Edge or Internet Explorer.
3. Click "TXT" in "Also available in" area.
4. The page will be exported but its file name is corrupted.

screenshot


Files

Actions #1

Updated by Go MAEDA about 7 years ago

  • Target version set to 3.3.5
Actions #3

Updated by Toshi MARUYAMA about 7 years ago

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

Actions #4

Updated by Toshi MARUYAMA about 7 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Committed in trunk, 3.4-stalbe, and 3.3-stable, thanks.

Actions

Also available in: Atom PDF