Opened 13 years ago

Last modified 9 years ago

#3144 new Feature Requests

Support unicode punctuation

Reported by: Daniel James Owned by: Daniel James
Milestone: To Be Determined Component: quickbook
Version: Boost 1.39.0 Severity: Problem
Keywords: Cc:

Description

Spirit 1's punct_p uses the standard C locale ispunct. So use something that supports unicode punctuation.

Maybe also add a way to choose the locale to use and look for anywhere else that the locale matters.

David Abrahams wrote:

It seems like Quickbook defines "punctuation" as whatever the 'C' locale says it is. As a result, none of the following foo's are italicized:

/foo/—a generic name used in programming—came to being after WWII.

“/foo/” came into being after WWII.

This fact (if I have it right) should be documented.

[QB should be fixed to handle unicode input.]

Change History (1)

comment:1 by Joel de Guzman, 9 years ago

Owner: changed from Joel de Guzman to Daniel James
Note: See TracTickets for help on using tickets.