Project

General

Profile

Actions

Defect #11131

closed

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

Defect #11131: repository View and Annotate code Utf-8 show ??? ,diff is right

Added by gehao liu over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
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 1 (0 open — 1 closed)

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

Updated by Toshi MARUYAMA over 14 years ago Actions #1

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

Updated by gehao liu over 14 years ago Actions #2

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

Updated by gehao liu over 14 years ago Actions #3

  • Status changed from Closed to Reopened

Updated by Toshi MARUYAMA over 14 years ago Actions #4

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

Duplicate with #11089.
And I cannot reproduce.

Updated by gehao liu over 14 years ago Actions #5

  • Status changed from Closed to Reopened

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

Updated by gehao liu over 14 years ago Actions #6

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

Updated by Toshi MARUYAMA over 14 years ago Actions #7

  • Status changed from Reopened to Closed

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

Actions

Also available in: PDF Atom