Unable to diff non UTF-8 files with special characters
Bug #273957 reported by
Alexandre Garnier
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Plugin for Eclipse |
Fix Released
|
Medium
|
Guillermo Gonzalez | ||
Java library for Bazaar |
Fix Released
|
Medium
|
Guillermo Gonzalez | ||
bzr-xmloutput |
Fix Released
|
Medium
|
Guillermo Gonzalez |
Bug Description
When diffing 2 revisions of a file, I have this errors in bazaar console and a dialog box "No differences" :
Executing: cat "--revision=
Error while executing cat
The response could not be parsed.
The response could not be parsed.
A problem occured during parsing
Invalid byte 2 of 3-byte UTF-8 sequence.------
Executing: cat "--revision=
Error while executing cat
The response could not be parsed.
The response could not be parsed.
A problem occured during parsing
Invalid byte 2 of 3-byte UTF-8 sequence.
This file is not UTF-8 encoded (but ISO-8859-1) and contains accented letters.
Changed in bzr-xmloutput: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in bzr-eclipse: | |
assignee: | nobody → guillo.gonzo |
status: | Confirmed → In Progress |
Changed in bzr-java-lib: | |
assignee: | nobody → guillo.gonzo |
status: | Confirmed → In Progress |
Changed in bzr-xmloutput: | |
assignee: | nobody → guillo.gonzo |
status: | Confirmed → In Progress |
Changed in bzr-eclipse: | |
status: | In Progress → Fix Committed |
Changed in bzr-java-lib: | |
status: | In Progress → Fix Committed |
Changed in bzr-xmloutput: | |
status: | In Progress → Fix Committed |
Changed in bzr-eclipse: | |
status: | Fix Committed → Fix Released |
Changed in bzr-xmloutput: | |
status: | Fix Committed → Fix Released |
Changed in bzr-java-lib: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Alexandre,
Thanks for reporting this.
I can confirm the problem.
It seems that xmlrpc service sset the encoding to UTF-8 but sends the contents of the file as ISO-8859-1
I'll fix this in the client, while looking for a robust solution on the server.
Cheers,