Page 1 of 1

special caracters converted into html code

Posted: 25 Aug 2006, 13:31
by rudy
Hi all,

When i copy some text from msword to mantis while reporting issues some caracters are converted into HTML code, for example:

the caracter ' becomes &#8217

Any idea about where this problem comes from (and how to solve it) ??

Any help would be much appreciated.

Posted: 25 Aug 2006, 14:56
by Narcissus
I think you'll find that the problem is due to Word's "smart quotes". That single quote is not actually a ', it's a special 'forward single quote' or 'backward single quote': neither of which are normal ASCII characters.

They get pasted with their character codes, which is what you're seeing.

With the output that you're seeing, are the numbers after the hash a hyperlink to the bug with that same number?

If so, you may be able to stop this behaviour by changing the bug link character in your configuration.

Otherwise, switch off smart quotes within Word before copying / pasting.

Posted: 30 Aug 2006, 10:38
by rudy
Thanks a lot, i'll try that when i'll find where to switch off smart quotes...