bugGNU Octave - Bugs: bug #34062, File editor rejects nonASCII (f.e....

 
 

bug #34062: File editor rejects nonASCII (f.e. russian) symbols.

Submitted by:  None
Submitted on:  Thu 18 Aug 2011 07:45:12 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: None
Originator Name: Andriy ShinkarchuckOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 18 Aug 2011 11:33:06 PM UTC, comment #1:

Confirmed that supplied patch fixes this (cset 9ad313bcee2d).

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Thu 18 Aug 2011 07:45:12 PM UTC, original submission:

When you open file editor, you can type all symbols in english keyboard layout, but after switching to the russian layout you can type only numbers, dots, commas, semicolons and so on: russian letters aren't typed.

As i looked, it can be connected with next
http://www.riverbankcomputing.co.uk/static/Docs/QScintilla2/classQsciScintilla.html#a9071c0772ce576f60fce08395ce04274

virtual void QsciScintilla::setUtf8 (bool cp) [virtual, slot]
Sets the current text encoding. If cp is true then UTF8 is used, otherwise Latin1 is used.

I greped source and couldnt find setUtf8 related to m_editor member of QsciScintilla class. Though maybe really Latin1 used by default.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #23835:  fix_fileeditor_utf8.patch added by andruxoid (804B - application/octet-stream - Added patch successfully fixes this issue.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by andruxoid (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 18 Aug 2011 11:33:06 PM UTCjordighStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 18 Aug 2011 10:51:44 PM UTCandruxoidAttached File-=>Added fix_fileeditor_utf8.patch, #23835

    Back to the top


    Powered by Savane 3.1-cleanup1