Talk:Determine if a string has all the same characters: Difference between revisions

m
(Created page with "== What is a character here? == For old-style strings where one character equals one byte, it's not really a problem. Nowadays with Unicode and multibyte characters, and much...")
 
Line 1:
== What is a character here? ==
For old-style strings where one character equals one byte, it's not really a problem. Nowadays with Unicode and multibyte characters, and much worse with [https://en.wikipedia.org/wiki/Unicode_equivalence Unicode equivalence] it is. How are languages with Unicode support expected to deal with this?
 
Line 5:
 
And while we are at it, note that, while "EEE" is a string which ''has all the same characters'', "EΕЕ" is not.
 
Of course, the same comment applies to the [[Determine if a string has all unique characters|other task]].
 
[[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 13:45, 30 October 2019 (UTC)
1,336

edits