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

m
→‎What is a character?: posted an answer.
No edit summary
m (→‎What is a character?: posted an answer.)
Line 58:
:Agreed, other tasks may suffer. But not all tasks which deal with characters. The [[String length]] is an obvious example, but it clearly states the requirements. It does not seem exaggerated to ask for the same precision, especially for a new task. By the way, you write ''"deals with characters that are, in essence, the same as bytes (8 bits)"'', but the characters I deal with professionaly are ''often'' UTF-8, and they would ''always'' be if I weren't on Windows - and I suspect I'm not alone. Regarding characters and Unicode, I suggest this [https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/ article] by Joel Spolsky. The first Unicode standard was published in 1992, maybe we could pretend we know about it yet. [[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 16:19, 30 October 2019 (UTC)
:By the way, you just used Unicode, but maybe you didn't realize: the smiley in your answer is U+1F609. See [https://www.unicode.org/charts/PDF/U1F600.pdf here]. [[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 16:28, 30 October 2019 (UTC)
 
:: Yes, I was aware.     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 16:47, 30 October 2019 (UTC)