overloading operators for I/O

Derek Parnell derek at nomail.afraid.org
Wed Feb 14 18:20:20 PST 2007


On Thu, 15 Feb 2007 01:53:47 +0000 (UTC), Manfred Nowak wrote:

> Walter Bright wrote
> 
>> The problem with using unicode operators is that unicode isn't as
>> well supported as it should be. It's one thing to support unicode
>> in the language, it's another to require one to use a unicode
>> capable text editor to edit source code.
> 
> The degree sign does not require unicode; it is in the normal ISO/IEC 
> 8859-1 or latin1 table. Every editor should be capable to display it. 
> Every system should be able to enter it.

LOL ... just because something *should* doesn't mean that it *will*. 

> The degree sign "°" is under windows reachable via <alt>0176.
> 
> The masculine ordinal indicator "º" via <alt>0186.
> 
> The currency sign "¤" via <alt>0164.
> 
> So: there is no such problem.

The editors I use all trap keystrokes and none of them allow 'raw' alt-xxx
entry of characters. So: there is such a problem. <G>

-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Justice for David Hicks!"
15/02/2007 1:15:44 PM



More information about the Digitalmars-d mailing list