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

 
 

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

Submitter:  None
Submitted:  Thu 18 Aug 2011 07:45:12 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  Andriy Shinkarchuck Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

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


Jordi GutiƩrrez Hermoso <jordigh>
Group Member
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 Files:
   
   
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
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by andruxoid (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-18 jordigh StatusNone Fixed
        Open/ClosedOpen Closed
    2011-08-18 andruxoid Attached File- Added fix_fileeditor_utf8.patch, #23835

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code