TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

/I Considered Harmful

4 pointsby pentesterlababout 5 years ago

1 comment

pentestercrababout 5 years ago
On the topic of case and unicode, it&#x27;s also important to remember that, somewhat surprisingly, the number of characters can change when a change in case occurs:<p><pre><code> $ irb &gt;&gt; puts RUBY_VERSION 2.6.5 &gt;&gt; &quot;ß&quot;.chars.size =&gt; 1 &gt;&gt; &quot;ß&quot;.upcase.chars.size =&gt; 2</code></pre>