xles / hyphenator

Automatically exported from code.google.com/p/hyphenator
GNU General Public License v3.0
0 stars 0 forks source link

Hyphenates “Your (doesn't handle typographer's quotes properly?) #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Hyphenate “Your (note the typographer's quote, character #8220)
2. The result is “Y­our

What is the expected output? What do you see instead?
“Your (no hyphenation)

What version of the product are you using?
I checked out the hyphenator-read-only branch anonymously.

Same thing happens with ‘

Original issue reported on code.google.com by austen.m...@gmail.com on 3 Dec 2010 at 7:39

GoogleCodeExporter commented 9 years ago
Hi

Thanks for the issue report.

I'm not able to reproduce the issue here.
I created a test-case 
(http://hyphenator.googlecode.com/svn/trunk/testsuite/test88.html) where 
everything works fine for me…

What options have you set?
Is the language set correctly?
Wich browser are you using?

Please keep in mind that checking out from the trunk equals using code in 
development.

Regards,
Mathias

Original comment by mathiasn...@gmail.com on 3 Dec 2010 at 6:22

GoogleCodeExporter commented 9 years ago
I was using envjs in rhino as a local javascript stack...so, not a browser 
environment you probably want to support :).

Don't worry about it. Thanks for your prompt response and I'm glad it works in 
reasonable browser environments :)

Original comment by austen.m...@gmail.com on 9 Dec 2010 at 5:43

GoogleCodeExporter commented 9 years ago
Hyphenator uses the RegExp \w to find words. Seems that in your environment \w 
matches character #8220.

Original comment by mathiasn...@gmail.com on 5 Apr 2011 at 1:34