special caracters converted into html code

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
rudy
Posts: 10
Joined: 12 Apr 2006, 14:36
Location: Paris

special caracters converted into html code

Post 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.
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post 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.
rudy
Posts: 10
Joined: 12 Apr 2006, 14:36
Location: Paris

Post by rudy »

Thanks a lot, i'll try that when i'll find where to switch off smart quotes...
Post Reply