Can I just say file extensions are a terrible way to indicate content type. They're fragile, unreliable, inelegant, ugly, and there are already better replacements. On Linux, for instance, there's an extended attribute user.mime_type, which is a Media Type. In email and HTTP, there's Content-Type, which is also a Media Type.
Just use the appropriate metadata field and put a Media Type!
@alexbuzzbee wheee resource forks!
@pagrus ExTeNdEd AtTrIbUtEs ArE jUsT fOrKs
@alexbuzzbee whoa, I didn't know about the extrattr, thanks
@alexbuzzbee @jalcine I think Apple screwed up big time by not opening up UTIs (https://en.m.wikipedia.org/wiki/Uniform_Type_Identifier), which unlike MIME types have more inheritance (so for example, a file can be HTML, which inherits from plain text, and any app that says it can edit plain text can automatically handle HTML as well)
Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.