[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65522] "Run selection" does not produce the s
From: |
Charles Praplan |
Subject: |
[Octave-bug-tracker] [bug #65522] "Run selection" does not produce the same result as running the script |
Date: |
Wed, 27 Mar 2024 12:28:57 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?65522>
Summary: "Run selection" does not produce the same result as
running the script
Group: GNU Octave
Submitter: charprap
Submitted: Wed 27 Mar 2024 04:28:57 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Charles Praplan
Originator Email:
Open/Closed: Open
Release: 9.1.0
Discussion Lock: Any
Operating System: Microsoft Windows
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 27 Mar 2024 04:28:57 PM UTC By: Charles Praplan <charprap>
The execution of a piece of code by pressing F9 (run selection) in the editor
does not produce the same result as running the whole script or typing the
command the console.
This leads to wrong result.
This only occurs when encoding is not UTF-8 (I only tested with Windows-1252
encoding).
The code to be executed is : s_xx='é';
Hereafter, the results for the 3 cases (xx = F9, console or script)
>> whos
Variables visible from the current scope:
variables in scope: top scope
Attr Name Size Bytes Class
==== ==== ==== ===== =====
s_F9 1x4 4 char
s_console 1x2 2 char
s_script 1x2 2 char
Total is 8 elements using 8 bytes
>> uint16(s_F9)
ans =
195 131 194 169
>> uint16(s_console)
ans =
195 169
>> uint16(s_script)
ans =
195 169
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65522>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #65522] "Run selection" does not produce the same result as running the script,
Charles Praplan <=