Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Character Encoding Is This?

I need to clean up some file containing French text. Problem is that the files erroneously contain multiple encodings within the same file.

I think some sections are ISO8859-1 (Latin 1) but other parts have text encoded in single byte characters that look like 'extended' ASCII. In other words, it is UTF-7 encoding plus the following:

  • 0x82 for é (e acute)
  • 0x8a for è (e grave)
  • 0x88 for ê (e circumflex)
  • 0x85 for à (a grave)
  • 0x87 for ç (c cedilla)

What encoding is this?

like image 937
Emmanuel Avatar asked Jan 22 '23 05:01

Emmanuel


1 Answers

That's the original IBM PC encoding, Code page 437.

like image 162
Michael Borgwardt Avatar answered Jan 30 '23 08:01

Michael Borgwardt