cross-posted from: programming.dev/post/37592724
Comments
- Lobsters.
Submitted 8 hours ago by Pro@programming.dev to technology@lemmy.world
https://devblogs.microsoft.com/oldnewthing/20250915-00/?p=111599
cross-posted from: programming.dev/post/37592724
Comments
- Lobsters.
The answer:
The device local name string is specified to be encoded in UTF-8. However, the Microsoft Wireless Notebook Presenter Mouse 8000 reports its name as Microsoft⟪AE⟫ Wireless Notebook Presenter Mouse 8000, encoding the registered trademark symbol ® not as UTF-8 as required by the specification but in code page 1252. What’s even worse is that a bare ⟪AE⟫ is not a legal UTF-8 sequence, so the string wouldn’t even show up as corrupted; it would get rejected as invalid.
Thanks, Legal Department, for sticking a ® in the descriptor and messing up the whole thing.
There is a special table inside the Bluetooth drivers of “Devices that report their names wrong (and the correct name to use)”. If the Bluetooth stack sees one of these devices, and it presents the wrong name, then the correct name is substituted.
That table currently has only one entry.
The stupid, old, irritating cycle of: You implement against a standard, and then you implement exceptions for third party users of the standard. 😔
But in this case it’s first-party, and they still had to make an exception
Well, there’s plenty of standards-noncompliance out there, but breaking the firmware of a peripheral you manufacture so that it can’t be properly supported by the OS driver you wrote and needs a workaround requires a special type of corporate boneheadedness.
Leave it up to microsoft to screw up even something that simple.
You spelled Microsoft® wrong.
How big is the company you’re working in?
In my experience that’s just a corporate thing.
floquant@lemmy.dbzer0.com 51 minutes ago
“the Microsoft Wireless Notebook Presenter Mouse 8000 reports its name as Microsoft⟪AE⟫ Wireless Notebook Presenter Mouse 8000, encoding the registered trademark symbol ® not as UTF-8 as required by the specification but in code page 1252” is a sentence that seems to have come straight from unix_surrealism