Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
at-text-transform [2011/12/01 06:09] – [Comic book vikings] florianat-text-transform [2011/12/01 06:47] – [German uppercase] florian
Line 41: Line 41:
  
 This descriptor creates a 1 to 1 mapping from the characters in the first string to the characters in the second string. This descriptor creates a 1 to 1 mapping from the characters in the first string to the characters in the second string.
-<note warning>ISSUE: how should we define character here? Legacy or extended grapheme cluster?</note>)+<note warning>ISSUE: how should we define character here? Legacy or extended grapheme cluster?</note>
  
 Both strings should be of equal length. If they are not, the longer on is truncated to the same length as the shorter one. Both strings should be of equal length. If they are not, the longer on is truncated to the same length as the shorter one.
Line 105: Line 105:
 </code> </code>
  
-==== German uppercase ====+==== German ß ====
  
 As discussed [[http://lists.w3.org/Archives/Public/www-style/2011Nov/0193.html|in this thread]], ß (aka &szlig; or U+00DF) is traditionally considered a lower case letter without an uppercase equivalent. text-transform:uppercase leaves it unchanged. Unicode has introduced ẞ (U+1E9E), an uppercase version of it since 5.1, but without making it a target of toupper(). As discussed [[http://lists.w3.org/Archives/Public/www-style/2011Nov/0193.html|in this thread]], ß (aka &szlig; or U+00DF) is traditionally considered a lower case letter without an uppercase equivalent. text-transform:uppercase leaves it unchanged. Unicode has introduced ẞ (U+1E9E), an uppercase version of it since 5.1, but without making it a target of toupper().
  
-This letter being rather new, authors are bound to disagree whether it is a proper uppercase variant of U+00DF, or not. Those who think it is not may use text-transform:uppercase; Those who think it is could use the following.+This letter being rather new, authors are bound to disagree whether it is a proper uppercase variant of U+00DF, or not. Those who think it is not may use text-transform:uppercase; and text-transform:lowercase Those who think it is could use the following.
  
 <code> <code>
Line 116: Line 116:
     convert-predefined: uppercase;     convert-predefined: uppercase;
     convert: "ß" to "ẞ";     convert: "ß" to "ẞ";
 +}
 +
 +@text-transform german-uppercase
 +{
 +    convert-predefined: lowercase;
 +    convert: "ẞ" to "ß";
 } }
 </code> </code>
 
at-text-transform.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki