[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #42054] uint8 typecast error
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #42054] uint8 typecast error |
Date: |
Sat, 05 Apr 2014 10:59:17 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0 |
URL:
<http://savannah.gnu.org/bugs/?42054>
Summary: uint8 typecast error
Project: GNU Octave
Submitted by: None
Submitted on: Sa 05 Apr 2014 10:59:16 UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: stefan
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.4
Operating System: Microsoft Windows
_______________________________________________________
Details:
I found a significant error in uint8 typecast.
uint8('ä')
returns 0
compare this result to:
double('ä')
returns 228
This affects a lot of functions like fwrite,...
and also other characters like: €,§,²,³,ü,ö,...
Greetings
Stefan
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42054>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #42054] uint8 typecast error,
anonymous <=