octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 8-bit char problem


From: John W. Eaton
Subject: Re: 8-bit char problem
Date: Fri, 11 Oct 2002 13:46:27 -0500

On 11-Oct-2002, Paul Kienzle <address@hidden> wrote:

| >   >> fprintf ('%s\n', setstr (100))
| >   d
| >   >> fprintf ('%s\n', setstr (400))
| >   4.000000e+02
| > 
| > Does this make any senes?
| 
| This makes sense if they are using unicode and require a 16-bit character
| set.  I believe they have patchy support for it in the most recent release.

I don't understand why a '%s' conversion would result in numeric
output when you are only printing one character.  If the value of 400
is invalid, setstr should complain.  If it's not, then '%s' should
convert it to a character, not a number.  But maybe this is what you
mean about support being patchy?

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]