Skip to main content
15 events
when toggle format what by license comment
Nov 27, 2022 at 22:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jul 30, 2022 at 22:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Apr 1, 2022 at 21:06 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 2, 2021 at 21:03 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Nov 3, 2021 at 20:10 comment added PRouleau OK, I'm busy at the moment and I need to learn more on encoding. I'' learn more on encoding and I'll add an answer that includes what you said and what @aadcg said if that's fine to you both.
Nov 3, 2021 at 19:56 comment added PRouleau OK, I'm busy ATM but I'll learn more about encoding and if @aadcg is OK with that I'll write something that integrate your answer, his answer and what I have learned.
Nov 3, 2021 at 15:30 comment added NickD That's fine with me: that's part of how the site works.
Nov 3, 2021 at 12:57 comment added PRouleau If you don't have time or if you prefer I can try writing something up later.
Nov 3, 2021 at 3:34 comment added NickD I'll try, but it's going to take me a few days: writing a good answer is different from throwing out crazy suggestions in a comment :-)
Nov 2, 2021 at 22:04 comment added PRouleau @Nick if you turn your answer in using the universal-coding-system-argument command into an answer I'll accept it.
Nov 2, 2021 at 21:51 comment added PRouleau I found out that loading the file in Firefox detects the encoding, which turned out to be GBK (simplified chinese). Knowing the encoding I can then use the method you described to open the file with GBK encoding and then I can tried to read the Chinese just fine ;-)
Nov 2, 2021 at 21:38 comment added PRouleau The file I'm testing this with is a DOS-line termination file. It is identified as iso-8859-1. I presume that file was created with a pre-Unicode coding system most probably in a German speaking country.
Nov 2, 2021 at 21:02 comment added NickD You should also try iso-8859-1. C-x RET c iso8859-1 RET C-x C-f <filename> RET should open it with that coding system. The coding system is indicated on the mode line at left as 1: .With some experience, you can tell what coding system was used, when you open the file with M-x find-file literally or with od -c from the command line and looking at the non-ascii chars.
Nov 2, 2021 at 20:06 answer added aadcg timeline score: 1
Nov 2, 2021 at 18:24 history asked PRouleau CC BY-SA 4.0