Project

General

Profile

Actions

Defect #11089

closed

UTF-8 encoding not showing correctly when looking highlighted php file contents

Added by Troex Nevelin over 12 years ago. Updated over 11 years ago.

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

0%

Estimated time:
Resolution:
Affected version:

Description

Ruby version              1.9.3 (x86_64-linux)
RubyGems version          1.8.11
Rack version              1.4
Rails version             3.2.5
Database adapter          mysql2
Database schema version   20120422150750
Git version               1.7.2.5

When I request file to see it contents (repository/revisions/HASH/entry) instead UTF-8 text I get '???'.
I'm using Git SCM and my files are valid UTF-8 (without BOM). I have this problem with Chineses, Russian, Thai and other scripts than latin.
However seeing diff's and attached utf-8 files are okay.


Files

utf-8-not-shown-in-file-contents-view.png (50.4 KB) utf-8-not-shown-in-file-contents-view.png Troex Nevelin, 2012-06-04 19:13
diff-view-is-okay.png (56.6 KB) diff-view-is-okay.png Troex Nevelin, 2012-06-04 19:13
gh-new-d7e2a66d.png (53.8 KB) gh-new-d7e2a66d.png Toshi MARUYAMA, 2012-06-05 15:13
git-show-component.php.txt (2.61 KB) git-show-component.php.txt Troex Nevelin, 2012-06-05 15:36
git-show-component.php (2.61 KB) git-show-component.php the same file but with different extension Troex Nevelin, 2012-06-05 15:39
issue-attached-files.png (15.2 KB) issue-attached-files.png Troex Nevelin, 2012-06-05 15:45
test-file-with-php-ext.png (145 KB) test-file-with-php-ext.png Troex Nevelin, 2012-06-05 15:45
test-file-with-txt-ext.png (93.5 KB) test-file-with-txt-ext.png Troex Nevelin, 2012-06-05 15:45
def.php (31 Bytes) def.php gehao liu, 2012-06-11 11:09
def.py (38 Bytes) def.py gehao liu, 2012-06-11 11:09
def.txt (31 Bytes) def.txt gehao liu, 2012-06-11 11:09
def.php.png (3.93 KB) def.php.png Toshi MARUYAMA, 2013-06-04 15:40

Related issues

Has duplicate Redmine - Defect #11131: repository View and Annotate code Utf-8 show ??? ,diff is rightClosed

Actions
Has duplicate Redmine - Defect #14445: <code> inside <pre> destroy polish diacritic of PHPClosed

Actions
Actions

Also available in: Atom PDF