Diff
Not logged in

Differences From Artifact [26f6e4e3bc]:

To Artifact [38d429e1f9]:


515
516
517
518
519
520
521
522

523
524
525
526
527
528
529
515
516
517
518
519
520
521

522
523
524
525
526
527
528
529







-
+







          if ( (c & 0xfe) == 0xee ){
            /* Range U+E000 - U+FFFF (Starting with 0xee or 0xef in UTF-8 ) */
            if ( !(c & 1) || ((z[i+1] & 0xff) < 0xa4) ){
              /* Unicode character in the range U+E000 - U+F8FF are for
               * private use, they shouldn't occur in filenames.  */
              return 0;
            }
          } else if( ((c & 0xff) == 0xed) && ((z[i+1] & 0xe0) == 0xa0) ){
          }else if( ((c & 0xff) == 0xed) && ((z[i+1] & 0xe0) == 0xa0) ){
            /* Unicode character in the range U+D800 - U+DFFF are for
             * surrogate pairs, they shouldn't occur in filenames. */
            return 0;
          }
        }
      }else if( c=='\\' ){
        return 0;