Jump to content

Text encoding / decoding problems to use Mantis intergation with Plastic SCM 4.0


uml2

Recommended Posts

Hi, Plastic SCM users. O:)

I have problems to use Mantis intergation with Plastic SCM 4.0.

My question is the issue title or details support only ascii code or the others ( e.g. utf-8 , euc-kr) .

I think that the issues can not be linked if the text encoding of title is not ascii-encoded. (english only?)

reproduce step:

mode : "Task on changeset" working mode.

1. add issues form the Mantis extension:

2. input Issue ID : 1

3. select : details button

4. answer : There is no issue with this ID: (empty) [OK]

what's the check point to solve this problems ?

Wonho Seo. from the Korea.

Link to comment
Share on other sites

I had a problem using Mantis too, but the chars are just replaced.

When the name has "ç", "ã", "õ" and others those chars are replaced by "??",

It happens with usernames and Branches names too.

Manu told me that they already corrected my problem, so maybe it helps you too. :)

Link to comment
Share on other sites

Thanks for cidico's comments

from Manu (admin) 's comments

---

Regarding more third party task control integrations, we support (at the time I'm writing) the following list:

Jira 4.2

Rally 2011.10.22-3

VersionOne 7.2 and 9.1 (10 and 11 are not tested)

Bugzilla 2.2x, 3.6, 4.0

Mantis 1.08, 1.2.4

Ontime 2009, 2010, 2011.

FobBugz 8.7.10H

Trac 0.10.4 (The 0.12 and 0.13 are not tested)

Bamboo 3.1 (3.2 is not tested)

Feel free to ask if you have more questions.

----

Wonho Seo. from the Korea.

Link to comment
Share on other sites

plastic.php code has the problems of text-decoding ///

# escape html characters
//$summary = xmlentities(htmlentities($bug_data->summary)); (about 50L)
$summary = htmlentities($bug_data->summary, null, "UTF-8");

.... plastic window ''' replaced unreaable chracters... . I cann't solve it.

Thanks.

Link to comment
Share on other sites

Hi, All.

The below screenshot has my fragle-chracters.

post-1402-0-01875400-1329274012_thumb.png

Browser View is OK

post-1402-0-99252400-1329274042_thumb.png

http://<hostname>/mantis/plastic.php?getbugs=2 (modified plastic.php version)

mantisextension.conf : Add Text Encoding preference. (like preference options for the diff merge tool in the file "guiclient.conf")

<?xml version="1.0" encoding="utf-8"?>

<MantisExtensionConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<Encoding>UTF8</Encoding> <!-- add preference for text encoding -->

</MantisExtensionConfiguration>

Thank you

Wonho Seo.

post-1402-0-01875400-1329274012_thumb.png

post-1402-0-99252400-1329274042_thumb.png

Link to comment
Share on other sites

  • 1 year later...
  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...