summaryrefslogtreecommitdiff
path: root/enc/unicode/case-folding.rb
diff options
context:
space:
mode:
Diffstat (limited to 'enc/unicode/case-folding.rb')
-rwxr-xr-xenc/unicode/case-folding.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/enc/unicode/case-folding.rb b/enc/unicode/case-folding.rb
index 30a1f71b1b..62b534d8c3 100755
--- a/enc/unicode/case-folding.rb
+++ b/enc/unicode/case-folding.rb
@@ -187,7 +187,7 @@ class CaseFolding
end
class MapItem
- attr_reader :upper, :lower
+ attr_reader :upper, :lower, :title
def initialize(code, upper, lower, title)
@code = code
@@ -226,6 +226,7 @@ class CaseMapping
if item
flags += '|U' if to==item.upper
flags += '|D' if to==item.lower
+ flags += '|T' unless item.upper==item.title
end
flags
end