Re:Be Careful with UUID or GUID as Primary Keys
by nvivo on Saturday June 10, 2017 @10:09AM
(#14527374)
Not sure what deserved a downvote here... Is there anything incorrect?
[ Parent
| on HN ]
Re:Be Careful with UUID or GUID as Primary Keys
by pornel on Saturday June 10, 2017 @02:00PM
(#14528360)
It's not incorrect, but a strawman (I didn't downvote you btw).
The question was why UTF-8 in MySQL has weird limits. It wasn't about what MySQL should have done in an alternative universe.
Re:Be Careful with UUID or GUID as Primary Keys
by nvivo on Saturday June 10, 2017 @07:22PM
(#14529775)
Yeah, but I didn't point out what mysql should have done in an alternative universe. Mysql DOES support fixed lenght unicode, just use the correct encoding: ucs2 or utf32. What it does with utf-8 is what any system that supports utf-8 must do.