Menu

Signs ? instead of not Latin symbols

2014-10-26
2014-10-30
  • Viktor Kuzmenok

    Viktor Kuzmenok - 2014-10-26

    The excellent environment of programming on C Dev 5, is only problems when using not of Latin symbols.
    In the project instead of symbols with a code more than 127 can be copied question marks.
    Even in the usual program (DOS) in the presence of the Project instead of symbols with a code more than 127 can be copied?.
    In the presence of symbols change of the Win32 project doesn't work with a code more than 127, for modification it is necessary to create the new project.
    I downloaded version 6.8.0 – too most.
    What recommendations will be?
    If there are any questions, I with pleasure will answer.

    The same, in Russian:

    Отличная среда программирования на C Dev 5, только есть проблемы при использовании не латинских символов.
    В проект вместо символов с кодом более 127 могут копироваться знаки вопроса.
    Даже в обычной программе (DOS) при наличии Проекта вместо символов с кодом более 127 могут копироваться ?.
    При наличии символов с кодом более 127 не работает изменение проекта Win32, для внесения изменений приходится создавать новый проект.
    Скачал версию 6.8.0 – тоже самое.
    Какие будут рекомендации?
    Если появится какие-либо вопросы, я с удовольствием отвечу.

     
  • Matthew MacGregor

    Hi, Viktor:

    Yes, this is a frustrating problem. The reason for it is because dev-c++ is a legacy application and currently only supports the old "ANSI" charsets and not Unicode. The project uses SynEdit 2.0.5 for the code editor, and 2.0.5 doesn't support Unicode. It's probably a large effort to upgrade, since Delphi 7 uses AnsiString by default as well, which probably means a lot of changes.

    Dev-C++ can display Cyrillic characters (I have attached a screenshot) if your default code page is Windows-1251. To set this up:

    Control Panel > Clock, Language, and Region > Region > Language for non-Unicode programs > Change system locale

    Unfortunately, this isn't a fantastic solution. Some text editors won't detect the encoding properly. (Notepad seems to be okay, but I had to choose the encoding manually for Notepad++). I don't know of another solution if Cyrillic alphabet is required.

    Thanks,
    Matthew

     
  • Viktor Kuzmenok

    Viktor Kuzmenok - 2014-10-29

    You precisely noticed Matthew that the demanded coding 1251, now everything works.
    Now instead of signs ? national symbols are copied.
    I reinstalled Dev 5 having entered Windows 8.1 as administrator, and not just to make start as the administrator. Still I in the .dev project established a national font instead of German: LanguageID=1033 and the national coding instead of CharsetID=1252 though, apparently, that the first would be enough.
    And changes are made to the Project.

    The same, in Russian:

    Matthew вы точно подметили, что требуемая кодировка 1251, теперь всё работает.
    Теперь вместо знаков ? копируются национальные символы.
    Я переустановил Dev 5 войдя в Windows 8.1, как администратор, а не только запуск произвести, как администратор. Ещё я в проекте .dev установил национальный шрифт вместо немецкого: LanguageID=1033 и национальную кодировку вместо CharsetID=1252, хотя, кажется, что первого было бы достаточно.
    И в Проект изменения вносятся.

     
  • Viktor Kuzmenok

    Viktor Kuzmenok - 2014-10-29

    Again there were signs ?, when copying the program on C, instead of not Latin symbols.

    The same, in Russian:

    Опять появились знаки ? , при копировании программы на C, вместо не латинских символов.

     

    Last edit: Viktor Kuzmenok 2014-11-30
  • Viktor Kuzmenok

    Viktor Kuzmenok - 2014-10-30

    It is noticed, what if in Windows 8.1 if copying (when placing the clipboard) included the English coding, at an insert there are signs? and it is only compiled without performance, and differently it is normal. Even under the Limited rights. It is shown probably only in this Operating System.
    The same, in Russian:
    Замечено, что если в Windows 8.1, если копировании (при помещении в буфер обмена) была включена английская кодировка, то при вставке возникают знаки ? и только компилируется без выполнения, а иначе нормально. Даже под Ограниченными правами. Это проявляется, вероятно, толька в данной Операционной Системе.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.