File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ keywords = ["Characters"]
44license = " MIT"
55desc = " Basic functionality for Chr type"
66authors = [" ScottPJones <scottjones@alum.mit.edu>" ]
7- version = " 0.1.7 "
7+ version = " 0.1.8 "
88
99[deps ]
1010Pkg = " 44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Original file line number Diff line number Diff line change 11julia 0.6 2-
22ModuleInterfaceTools 0.1.6
3- StrAPI 0.1.7
3+ StrAPI 0.1.8
44CharSetEncodings 0.1.8
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ uppercase(ch::ASCIIChr) = _islower_a(ch) ? ASCIIChr(ch - 0x20) : ch
2525titlecase (ch:: ASCIIChr ) = uppercase (ch)
2626
2727lowercase (ch:: T ) where {T<: LatinChars } = T (_lowercase_l (codepoint (ch)))
28- uppercase (ch:: LatinChr ) = LatinChr (_uppercase_l (codepoint (ch)))
28+
29+ _uppercase_latin (ch) = _can_upper (ch) ? ch - 0x20 : ch
30+ uppercase (ch:: LatinChr ) = LatinChr (_uppercase_latin (codepoint (ch)))
2931
3032# Special handling for case where this is just an optimization of the first 256 bytes of Unicode,
3133# and not the 8-bit ISO 8859-1 character set
You can’t perform that action at this time.
0 commit comments