Rev 8946 | Rev 9481 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8946 | Rev 9473 | ||
---|---|---|---|
Line 587... | Line 587... | ||
587 | if (chrnum(textbuf.p, '\246')>5) |
587 | if (chrnum(textbuf.p, '\246')>5) |
588 | || (strstr(textbuf.p, "\239\240")) real_encoding = CH_CP1251; |
588 | || (strstr(textbuf.p, "\239\240")) real_encoding = CH_CP1251; |
589 | } |
589 | } |
590 | } |
590 | } |
591 | if (real_encoding != CH_CP866) { |
591 | if (real_encoding != CH_CP866) { |
592 | ChangeCharset(real_encoding, "CP866", textbuf.p); |
592 | ChangeCharset(real_encoding, CH_CP866, textbuf.p); |
593 | } |
593 | } |
594 | } |
594 | } |
Line 595... | Line 595... | ||
595 | 595 | ||
596 | void LoadFile(dword f_path) |
596 | void LoadFile(dword f_path) |