Menu

#188 Code page detection problem

medit
open
nobody
None
5
2015-07-13
2015-07-12
No

There is a problem with code page autodetection. Looks like medit doesn't try to detect any sequences, it just looks if a character exists in a code page. So, for example, medit detects CP866-encoded file as CP1251 and vice versa. This is annoying.

Discussion

  • Yevgen Muntyan

    Yevgen Muntyan - 2015-07-13

    That's right, though the idea is that nobody uses CP866 (or KOI8 for that matter) anymore. What files are these, old books perhaps?

     
  • Vasya Pupkin

    Vasya Pupkin - 2015-07-13

    Well, this is default code page in Windows console for Russian users. But not every time. Some localizations are using CP1251 for some reason. I am working as a tech support guy in a big company and I gotta analize logs from Windows machines to see what's wrong with them. Some are CP866-encoded, some are CP1251-encoded. Some are mixed, but that can't be helped. I really wish medit could detect these code pages properly, would save me a lot of time. :)

     

Log in to post a comment.

Monday.com Logo