this post was submitted on 23 Sep 2023
6 points (100.0% liked)

OpenBSD

79 readers
15 users here now

General OpenBSD community!

founded 1 year ago
MODERATORS
 

Hello, I've tried to find someone else using OpenBSD in various places for a while now, but with no success, so I'm hoping someone will read this.

I'm wondering what your output is from file(1) on a file you know has text encoded as UTF-8.

On my system (7.3-stable) the output is "Non-ISO extended-ASCII text", and I'm trying to figure out if this is how it should be, or if I did something wrong setting up the system.

So, if you have a computer with OpenBSD and a minute to spare, could you try running file(1) on a UTF-8 file and see if it identifies it as UTF-8 or "Non-ISO extended-ASCII text"?

Thanks in advance

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 10 months ago (1 children)

Which is ironic, given that OpenBSD only supports the UTF-8 encoding :)

[โ€“] [email protected] 1 points 10 months ago

Yes it looks like utf8 is a first-class citizen but really it is ASCII which is 100% supported. From the FAQ:

The OpenBSD base system fully supports the ASCII character set and encoding, and partially supports the UTF-8 encoding of the Unicode character set.