View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008733 | mantisbt | feature | public | 2008-01-10 11:10 | 2010-09-19 03:11 |
Reporter | grimko | Assigned To | dhx | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Product Version | 1.1.0 | ||||
Summary | 0008733: Submitting SVN commit logs with accents using checkin.php doesn't show properly in mantis | ||||
Description | When using source_control_integration with subversion and committing logs with accents such as é à (using Eclipse), there is a problem displaying them in Mantis notes. They display properly for example in Trac, but not in mantis : Bug 0000377 : activation crontab ?\195?\160 3H00 ?\195?\160 corresponds to à | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
up |
|
What happens is that Eclipse sends the commit encoded as UTF-8; the server running mantis is using a different encoding (probably latin1). |
|
IMHO, UTF8 should be the only supported encoding from our side so we would break only when dealing with stuff not UTF aware... IOW, we should see if and how checkin.php can be forced to use UTF. On the other hand, mantis 1.2 is going to have a revamped source control integration based on plugins, so I recommend:
oh, and
|
|
I think that (1) is nop, modulo changing the encoding on the DB. The problem is that you have to convert UTF-8 strings to whatever encoding the web server is using to display then properly, and the extension (mbstring) might not be available. And of course you'd have to convert all the HTTP input (which you cannot control) to UTF-8. |
|
Right now integrating SVN and Mantis is a mess for non US country. The problem describe in this issue has 2 steps :
The workaround is :
I gonna attach a sample in ruby that work for me that anybody can convert into his favorite language. |
|
I have made a mistake. |
|
Won't fix as this old source code integration support is being dropped in favour of using a more modern plugin approach with the SourceIntegration plugin. Refer to 0011732 for more details and feedback. |
|