#3809: Trac cannot parse win1252 source files
---------------------------------------+------------------------------------
Reporter: trac.edgewall@genezys.net | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: browser | Version: 0.10rc1
Severity: normal | Keywords:
---------------------------------------+------------------------------------
Trac parser is unable to read windows-1252 files in my Trac installation.
When viewing a source file using the changeset view or the browser, each
>127 char and its 2 following chars are replaced by 3 garbage bytes
interpreted in UTF-8 as the character "?".
You can see an example on this file :
https://code.genezys.net/trac/ChuDrive/browser/SDK/ChUI/Scrollbar.cpp?rev=90#L48
This line should be:
>{{{// On n'aura plus besoin de ce mécanisme quand les enfants seront
rendu en coordonnées relatives}}}
but when Firefox is using UTF-8 as declared in Trac website, it is:
>{{{// On n'aura plus besoin de ce m?nisme quand les enfants seront rendu
en coordonn? relatives}}}
or when Firefox is manually set to use windows-1252 (which is wrong
actually), it is:
>{{{// On n'aura plus besoin de ce m�nisme quand les enfants seront
rendu en coordonn� relatives}}}
This file is known to be in windows-1252 encoding.
I have version 0.10rc1 manually installed on debian sarge using python
2.3.
--
Ticket URL: <http://trac.edgewall.org/ticket/3809>
The Trac Project <http://trac.edgewall.org/>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
---------------------------------------+------------------------------------
Reporter: trac.edgewall@genezys.net | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: browser | Version: 0.10rc1
Severity: normal | Keywords:
---------------------------------------+------------------------------------
Trac parser is unable to read windows-1252 files in my Trac installation.
When viewing a source file using the changeset view or the browser, each
>127 char and its 2 following chars are replaced by 3 garbage bytes
interpreted in UTF-8 as the character "?".
You can see an example on this file :
https://code.genezys.net/trac/ChuDrive/browser/SDK/ChUI/Scrollbar.cpp?rev=90#L48
This line should be:
>{{{// On n'aura plus besoin de ce mécanisme quand les enfants seront
rendu en coordonnées relatives}}}
but when Firefox is using UTF-8 as declared in Trac website, it is:
>{{{// On n'aura plus besoin de ce m?nisme quand les enfants seront rendu
en coordonn? relatives}}}
or when Firefox is manually set to use windows-1252 (which is wrong
actually), it is:
>{{{// On n'aura plus besoin de ce m�nisme quand les enfants seront
rendu en coordonn� relatives}}}
This file is known to be in windows-1252 encoding.
I have version 0.10rc1 manually installed on debian sarge using python
2.3.
--
Ticket URL: <http://trac.edgewall.org/ticket/3809>
The Trac Project <http://trac.edgewall.org/>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---