It's confusing that the Mac and Linux cases are basically the same characters, but in a totally different order.

The only actual difference afaict is that Linux doesn't filter out ":".  Is Mac OS actually consistent with Linux in that case?  It would be nice if we could just combine these two cases...