Character showing up as diamond question mark only at end of line (Python>Text)
问题 I'm working on a Python file that inputs a text file with Japanese characters (UTF-8) in it, takes some of the text, and writes it into a new UTF-8 text file. The problem I'm coming across is that for some reason whenever the Japanese character だ appears at the end of a line in the original input file, it comes out as a diamond question mark in the output file. Instances of だ before the end of a line read perfectly fine and the original input file has it reading perfectly fine even if it's at