Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. QScintilla - how to set Unix lf, ANSI encoding?
Forum Updated to NodeBB v4.3 + New Features

QScintilla - how to set Unix lf, ANSI encoding?

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
2 Posts 2 Posters 894 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mbergmann-sh
    wrote on last edited by
    #1

    I'm writing on asource code Editor for an Amiga Cross Compiling Environment under Linux/Windows/Mac, using Qt5 and QScintilla 2.9.

    The Amiga used an encoding page simmilliar to ECMA Latin-1, which is identical to ISO-8859-1. When opened in Notepad++, an Amiga C source file shows up correctly when set to encoding: Unix lf, ANSI. How to tell my QScitilla textEditor widget to reproduce the same behaviour? ATM, I'm simply initializeing the widget with 'editor.setUtf8(false)' - which ends up in wrong characters. For example, '@' and other certain characters simply are represented as '?'.

    Any help apreciated!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should check the QScintilla mailing list. You'll more likely get an answer there for your problem.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved