Difference: UnicodeIFStmt (10 vs. 11)

Revision 112011-04-01 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

IF / AND / OR Statements

Line: 56 to 56
 
  1. Compiler does not flag Group field to Unicode comparison as an error
  2. Compiler does not flag Group field to National comparison as an error
  3. Executing an IF .. RS/RI with Unicode or National fields causes process to abort. 2nd attempt causes session to crash.
Deleted:
<
<
  1. When comparing Unicode character 'Ó' (U+04E7) to National string 'ing', GE returns True.
 
  1. Not sure if this is a bug or not: If I compare 2 raw alphas, then 'a' is GT 'A', as per the ASCII table. If I compare raw 'a' to Unicode 'A', then the opposite is true. It this because the raw was transcoded to unicode, and then the Unicode collating sequence was used, which puts the lower case before the upper case?
Deleted:
<
<
  1. Unicode 'B' is GE raw 'A'. Wrong, it's GT, but not GE. Same problem if you reverse Unicode & Raw operands.
  2. Unicode 'A' is LE raw 'B'. Wrong, it's LT, but not LE. Same problem if you reverse Unicode & Raw operands.
  3. National Fields have the same problems as 8 & 9, report LE/GE as true when it's only LT/GT.
  4. Unicode to Literal, same as 8,9,10, reports LE/GE when should just be GT/LT. Comparing literal \u03A3 to U+0385, or comparing U+03a3 to 'Testing'.
  5. National to Literal, same as 8,9,10, reports LE/GE when should be just GT/LT. Comparing National "A" to \u0024 ($), reports "A" is GE "$".
  6. Comparing Raw alpha fields, says 1 is LE 2. 1 is LT 2, not LE 2.

 \ No newline at end of file
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback