1364
Unicode (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] wizardbeard@lemmy.dbzer0.com 19 points 7 months ago

Only if it's enabled by default, or the dev knows to enable it.

I had a lot of weird problems processing some info with names in Powershell until I found out that Powershell doesn't default to unicode format when shoving output into files. You can easily specify the encoding, but if you don't it replaces any non-ascii characters with "?" by default, so it's not even immediately obvious that there's an incorrect character, as it just silently substitutes a valid one.

[-] vox@sopuli.xyz 2 points 7 months ago

it uses big-endian utf-16 with BOM by default unless you upgrade to PowerShell 7

this post was submitted on 17 Apr 2024
1364 points (99.5% liked)

Programmer Humor

19564 readers
1227 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS