Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26164

Re: OT: Text editors (was Re: Search and replace text in XML file?)

Newsgroups comp.lang.python
Date 2012-07-28 12:23 -0700
References <mailman.2668.1343490711.4697.python-list@python.org> <70f3e677-550b-4727-8292-fda143a4e8c0@googlegroups.com> <mailman.2672.1343497647.4697.python-list@python.org>
Subject Re: OT: Text editors (was Re: Search and replace text in XML file?)
From wxjmfauth@gmail.com
Message-ID <mailman.2674.1343503423.4697.python-list@python.org> (permalink)

Show all headers | View raw


On Saturday, July 28, 2012 7:47:24 PM UTC+2, Chris Angelico wrote:
> On Sun, Jul 29, 2012 at 3:43 AM,  <wxjmfauth@gmail.com> wrote:
> 
> > On Saturday, July 28, 2012 5:51:48 PM UTC+2, Chris Angelico wrote:
> 
> >
> 
> > ... and has a few limitations (eg it only really supports
> 
> >>
> 
> >> UTF-8),
> 
> >
> 
> > ?!
> 
> >
> 
> > It's my daily plain text editor (Windows) since ? (I don't remember).
> 
> > And I'm using it for utf-8, utf-16 and cp1252 (my favorite coding)
> 
> > without problems.
> 
> 
> 
> Okay, I must have misunderstood something then. Was under the
> 
> impression that it had some internals where it worked only in bytes,
> 
> and that things wouldn't always work if you used anything other than
> 
> UTF-8. It's not an issue for me, since UTF-8 suits me just fine, so
> 
> I've never looked into it. Apologies for the Elmer FUD!
> 
> 
> 
> ChrisA

No problem. Important is just to say SciTE works
fine with many codings.

Having said this, I think there is probably some
confusion between the scintilla widget and the editor,
the application, SciTE using scintilla.

In the Python world, the ported "scintilla widget",
wxStyleTextCtrl in wxPython and QScintilla in PyQt
are working internally in utf-8 and the api's, at least
in wxPython, work with a byte arithmetic (annoying).
If I used the PyQt version, I do not remember the status
with Qt. I prefer the QPlainTextEdit widget.

For info: http://scintilla.org/

jmf

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

OT: Text editors (was Re: Search and replace text in XML file?) Chris Angelico <rosuav@gmail.com> - 2012-07-29 01:51 +1000
  Re: OT: Text editors (was Re: Search and replace text in XML file?) Alister <alister.ware@ntlworld.com> - 2012-07-28 17:17 +0000
  Re: OT: Text editors (was Re: Search and replace text in XML file?) wxjmfauth@gmail.com - 2012-07-28 10:43 -0700
  Re: OT: Text editors (was Re: Search and replace text in XML file?) Chris Angelico <rosuav@gmail.com> - 2012-07-29 03:47 +1000
    Re: OT: Text editors (was Re: Search and replace text in XML file?) wxjmfauth@gmail.com - 2012-07-28 12:23 -0700
    Re: OT: Text editors (was Re: Search and replace text in XML file?) wxjmfauth@gmail.com - 2012-07-28 12:23 -0700
      Re: OT: Text editors (was Re: Search and replace text in XML file?) hamilton <hamilton@nothere.com> - 2012-07-28 15:43 -0600
        Re: OT: Text editors (was Re: Search and replace text in XML file?) Chris Angelico <rosuav@gmail.com> - 2012-07-29 08:42 +1000
          Re: OT: Text editors (was Re: Search and replace text in XML file?) hamilton <hamilton@nothere.com> - 2012-07-28 20:33 -0600
            Re: OT: Text editors (was Re: Search and replace text in XML file?) Chris Angelico <rosuav@gmail.com> - 2012-07-29 12:37 +1000
  Re: OT: Text editors (was Re: Search and replace text in XML file?) wxjmfauth@gmail.com - 2012-07-28 10:43 -0700
  Re: OT: Text editors (was Re: Search and replace text in XML file?) Andrew Cooper <amc96@cam.ac.uk> - 2012-07-29 18:55 +0100

csiph-web