bugGNU Octave - Bugs: bug #48733, Special characters improperly...

 
 

bug #48733: Special characters improperly displayed.

Submitted by:  None
Submitted on:  Tue 09 Aug 2016 03:34:53 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: NoneAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: OpenRelease: 4.0.3
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 11 Aug 2016 04:17:56 AM UTC, comment #1:

I think the issue is encoding getting clobbered; whereas when you edit in the Qt GUI itself it is using Unicode and doing things right.

Possible solutions include,
1) Detecting extended ASCII usage (byte_val > 127) and asking user to specify the encoding
2) Auto suggest encoding like Cyrillic, CJK etc.

HTH,
-Muthu

Anonymous
Tue 09 Aug 2016 03:34:53 PM UTC, original submission:

When opening a simple .m file containing special characters such as "é, à, ê, è, ç, ï", saved either in Matlab or notepad, octave editor displays the following character instead : �.

For instance, the following code, saved with either notepad or matlab 2011b, creates this issue when displayed in the editor, but the characters are displayed properly on the figure once executed even though the editor displays a bunch of � :

The issue is strangely reversed when written and saved directly in octave editor. The same code is then properly displayed in octave editor, but on the plot we see the attached image file.

Octave GUI and windows 7 x64 are in french. Also on present on release 4.0.1

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #38157:  characters_bug.PNG added by None (1KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Tue 09 Aug 2016 03:34:53 PM UTCNoneAttached File-=>Added characters_bug.PNG, #38157

Back to the top


Powered by Savane 3.1-cleanup1