Skip to content
Discussion options

You must be logged in to vote

Thanks for clarifying the problem. jlreq character classes are indeed not mutually exclusive. A Twitter user directed me to §3.9.2 aa, “Western characters (cl-27),” which states that “several marks are used both in a Japanese context and a Western context.” This could suggest that the ‘%’ symbol belongs to cl-13 in a Japanese context and cl-27 in a Western context. jlreq stops here, but in practice ‘%’ (U+FF05) is used in a Japanese context, while ‘%’ (U+0025) is used in a Western context.

So the simple solution is to treat ‘%’ (U+0025) as a Western character (cl-27) and insert a quarter-em space between it and most Japanese characters, and treat ‘%’ (U+FF05) as a Japanese postfixed abbre…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YDX-2147483647
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants