I wonder why in Japanese locale backward slash turns to yen symbol.
in Shift-JIS, ASCII backslash is changed to Yen symbol.
Because when computers were only seven-bit ASCII, if they didn't replace a character, then Japanese wouldn't get a Yen symbol at all. So every country had modifications of ASCII with different characters here and there.

here is more than you ever wanted to know on the subject: https://en.wikipedia.org/wiki/Code_page_932_(Microsoft_Windows)#Single-byte_character_differences
I think everything is Unicode now but legacy stuff like Windows command line still uses legacy codepages.

It's possible to override it with setlocale 65001 I think...
ログインして会話に参加
Fedibird

様々な目的に使える、日本の汎用マストドンサーバーです。安定した利用環境と、多数の独自機能を提供しています。