Project

General

Profile

Actions

Defect #11131

closed

repository View and Annotate code Utf-8 show ??? ,diff is right

Added by gehao liu almost 12 years ago. Updated almost 12 years ago.

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

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

git encode is UTF-8.
`git show ` is right.





Files

20120611141936.png (12.6 KB) 20120611141936.png gehao liu, 2012-06-11 08:29
20120611142039.png (13.3 KB) 20120611142039.png gehao liu, 2012-06-11 08:29
20120611142100.png (10.1 KB) 20120611142100.png gehao liu, 2012-06-11 08:29
20120611142112.png (17 KB) 20120611142112.png gehao liu, 2012-06-11 08:29
encode-setting.png (52.2 KB) encode-setting.png Toshi MARUYAMA, 2012-06-11 09:37
def.php (31 Bytes) def.php gehao liu, 2012-06-11 11:15
def.py (38 Bytes) def.py gehao liu, 2012-06-11 11:15
def.txt (31 Bytes) def.txt gehao liu, 2012-06-11 11:15

Related issues

Is duplicate of Redmine - Defect #11089: UTF-8 encoding not showing correctly when looking highlighted php file contentsClosed

Actions
Actions #1

Updated by Toshi MARUYAMA almost 12 years ago

You can use "Attachments and repositories encodings" at setting panel.

Actions #2

Updated by gehao liu almost 12 years ago

my file encode is UTF-8(no BOM), it's not gb2312,why change it to gb2312?
"Attachments and repositories encodings" is "UTF-8,UTF-8"
DATABASE :postgresql9.1.3 UTF-8
OS is rhel5.7, LANG=zh_CN.UTF-8

respository > diff is right
respository
> view and respository-> Annotate , Chinese changed '??', it is wrong

Actions #3

Updated by gehao liu almost 12 years ago

  • Status changed from Closed to Reopened
Actions #4

Updated by Toshi MARUYAMA almost 12 years ago

  • Status changed from Reopened to Closed
  • Resolution changed from Invalid to Duplicate

Duplicate with #11089.
And I cannot reproduce.

Actions #5

Updated by gehao liu almost 12 years ago

  • Status changed from Closed to Reopened

txt extname is OK,
python extname .py is OK.
php extname is wrong,
problem is viewing syntax highlighted!!!!!!!!!!

Actions #6

Updated by gehao liu almost 12 years ago

simple file
UTF-8(no BOM)
php is wrong,others OK.

Actions #7

Updated by Toshi MARUYAMA almost 12 years ago

  • Status changed from Reopened to Closed

Do not re-open and post messages to closed issues.

Actions

Also available in: Atom PDF