There’s something similar that only affects Chinese characters. If R tries to read in a UTF-encoded file with the default Chinese encoding for Windows (cp936), it’ll sometimes convert simplified Chinese to random traditional Chinese characters. Since this doesn’t affect Latin characters, it can cause hard-to-find bugs if for some reason Chinese characters are used in file names.
I can only imagine the frustration of someone unfamiliar with Chinese trying to deal with this.
There’s something similar that only affects Chinese characters. If R tries to read in a UTF-encoded file with the default Chinese encoding for Windows (cp936), it’ll sometimes convert simplified Chinese to random traditional Chinese characters. Since this doesn’t affect Latin characters, it can cause hard-to-find bugs if for some reason Chinese characters are used in file names.
I can only imagine the frustration of someone unfamiliar with Chinese trying to deal with this.