4 ms·
People have long surnames, especially if you take multi-byte characters into account. And someone with the same mindset as you is the reason why my profile pict
by saagarjha 2y ago
People have long surnames, especially if you take multi-byte characters into account. And someone with the same mindset as you is the reason why my profile picture in Google’s employee directory never did actually show up in Safari–one of the path components ended up being a couple thousand characters long (I wonder if it was literally a base64 encoding of the image itself?)
- CoastalCoder 2y agoOut of curiosity, would you mind sharing some details about your surname? E.g., its length in its native alphabet, or its length as a UTF-8 string?
- saagarjha 2y ago$ swift Welcome to Apple Swift version 6.0 (swiftlang-6.0.0.5.15 clang-1600.0.22.6). Type :help for assistance. 1> "झा".count $R0: Int = 1 2> "झा".utf8.count $R1: Int = 6
- kazinator 2y agoNo, my reasoning does not say that a browser shouldn't handle a long URL (which is a substring of a page it has already accepted and rendered).
- saagarjha 2y agoI fail to see the difference here?