Menu

ASCII (DOS charset)

Mr_DI
2009-06-25
2012-11-13
  • Mr_DI

    Mr_DI - 2009-06-25

    Hello

    Why  Notepad++ 5.3.1 does not support ASCII (DOS charset)?
    See below sample of russian text.

    SF_451.ert - ó¡ÑΦ¡∩∩ Σ«α¼á ßτÑΓá Σá¬Γπαδ;
    SF_451.efd - ñ«»«½¡¿Γѽ∞¡δ⌐ Σá⌐½ ó¡ÑΦ¡Ñ⌐ Σ«α¼δ ßτÑΓá-Σá¬Γπαδ.

     
    • Mayday

      Mayday - 2009-07-08

      It really seems 5.4.4 has some problems with displaying of cyrillic characters in .NFO files, even for Windows encoded. They look just as in Mr_DI case.

      Setting of global font  in "Styles" or renaming file to .TXT helps. Looks like a problem with "DOS Style", but there's no separate font setting for these style.

       
    • cchris

      cchris - 2009-06-25

      Does TextFX -> TextFX Convert -> Convert CP1251 to KOI8_R, or the other way round, help?
      How was the text entered?
      Is the file formatted as UCS-2 LE?

      CChris

       
    • MixNix

      MixNix - 2009-07-06

      It does'nt help.
      It's no support DOS OEM 866 as in Notepad++ as in TextFX Convert.
      Please, make DOS OEM 866 support!

       
    • cchris

      cchris - 2009-07-07

      Do you use as Default Style a font that supports your code page? I hardly know about cyrillic fonts so I can't recommend any. Perhaps going to www.paratype.com will help you find something.

      CChris

       
  • Dmitry Merkotan

    Dmitry Merkotan - 2009-11-12

    Yes, it's really sad that Notepad++ doesn't understand CP866 (ANSI, OEM, DOS) encoding :(

    This makes it inconvenient to deal with Windows *.bat files, because Windows still in 21th Century uses DOS charset in that environment and, for example, "Администратор" ("Administrator") in russian localized Windows should be written in CP866 in *.bat files, else it doesn't work.

     
  • cchris

    cchris - 2009-11-12

    Does setting the highlighter for .bat/.nfo files to "Normal text" from the Languages menu help? At least it makes it posiible to choose an appropriate font, without changing the file extension.

    What hapens is that Scintilla does not understand any code page. It does so only for 5 (iirc) OEM DBCS pages, as it needs to know about lead byte ranges. Otherwise, itonly knows about bytes, so that any codepage related issue is to be set by choosing an appropriate font.

    CChris
    CChris

     
  • Dmitry Merkotan

    Dmitry Merkotan - 2009-11-12

    *Does setting the highlighter for .bat/.nfo files to "Normal text" from the Languages menu help? At least it makes it posiible to choose an appropriate font, without changing the file extension.*

    Hi CChris!
    I'm not really sure what should I do to check it.
    You mean menu "Language", then click on "Batch"?

     
  • cchris

    cchris - 2009-11-13

    Press "Normal text" rather. If it is not there, pmlease enable this item from Settings -> Preferences -> Language menu/Tab settings.

    A more drastic move would be to open langs.xml, search for ""nfo"" and remove the _nfo_. This willl remove .nfo as a recognised extension, and force all such files to be read as normal text. Yo can adjust all colours and parametrs for normal text.

    CChris
    CChris

     
MongoDB Logo MongoDB