pombreda / nbgit

Automatically exported from code.google.com/p/nbgit
0 stars 0 forks source link

Git diff encoding bug (windows-1251) #92

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Init git repo. Add file with Russian text in windows-1251 encoding.
2. Create project with windows-1251.
3. Add new line.
4. View git diff in the netbeans.

What is the expected output? What do you see instead?
All russian symbols in (BASE) version shows as ?????? an Git Diff Views it as 
"change". See the example screenshot in the attachmet.

What versions of NbGit, NetBeans and Java are you using?
On what operating system?
Ubuntu 10.10 (Updated)
NetBeans 6.9.1 (PHP version, fully updated, downloaded from official site)
NbGit nbgit-0.4-netbeans-6.9.nbm 

java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.2) (6b20-1.9.2-0ubuntu2)
OpenJDK Server VM (build 19.0-b09, mixed mode)

Please provide any additional information below.
In the attachment nbproject. Git repo. And the screenshot.

May be this information will helpful. About year ago I have used nbgit from nbm 
module and there was same bug. But when I compile and install module from 
source (year ago) there was correct displaying of encodings. 

Original issue reported on code.google.com by alexxz2...@gmail.com on 16 Jan 2011 at 1:20

Attachments: