[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] What's this?
From:       "Friedrich W. H. Kossebau" <friedrich.w.h () kossebau ! de>
Date:       2006-10-09 14:30:24
Message-ID: 200610091630.24484.friedrich.w.h () kossebau ! de
[Download RAW message or body]

Am Montag, 9. Oktober 2006 14:12, schrieb Adriaan de Groot:
> On Monday 09 October 2006 13:40, Tobias Koenig wrote:
> > On Sun, Oct 08, 2006 at 12:08:32AM +0200, Szombathelyi György wrote:
> > > end = interpret.indexOf(34, start + 1);
> >
> > 34 is '"' in ASCII table, so interpret.indexOf( '"', start + 1 ) should
> > be the same. Maybe the original author of the code didn't know how to
> > quote '"' inside "" ;)
>
> <limb>How about compilers with non-ASCII chars by default?</limb> Anyway,
> it should be 042 or 0x22, for clarity.

For most clarity, could it be 
	static const char DOUBLEQUOTE = 0x22;
	end = interpret.indexOf( DOUBLEQUOTE, start+1 );
?
And then, isn't '"' a correct way, as KDE source files should be in UTF-8? 
Given, that syntax highlighting helps with the irritating amount of strokes?

Friedrich
_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic