On Fri, 2 Jan 2009, Abdelrazak Younes wrote:

rgheck wrote:

 What's the right way to find out if the first character of a docstring is
 lowercase? Should I do something like: ucs4_to_qchar(c).isLower()?

You also want to check that the character is _in_ the ucs2 range.

if (!is_utf16(c))
  return true;
return ucs4_to_qchar(c).isLower();

Is it valid to say that any character not in utf16 is considered lower case?

PS: Happy new year to you all and your families.

Gott nytt år!
/Christian

--
Christian Ridderström, +46-8-768 39 44            http://www.md.kth.se/~chr

Reply via email to