dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/I18N/CJK MultiByteEncoding.cs, 1.1, 1


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/I18N/CJK MultiByteEncoding.cs, 1.1, 1.2
Date: Sat, 16 Aug 2003 00:55:52 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/I18N/CJK
In directory subversions:/tmp/cvs-serv1577/I18N/CJK

Modified Files:
        MultiByteEncoding.cs 
Log Message:


Map unknown Unicode characters to the empty string, not NUL.


Index: MultiByteEncoding.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/I18N/CJK/MultiByteEncoding.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MultiByteEncoding.cs        16 Aug 2003 04:51:48 -0000      1.1
--- MultiByteEncoding.cs        16 Aug 2003 04:55:50 -0000      1.2
***************
*** 150,154 ****
                                                value = 0;
                                        }
!                                       if(value < 0x0100)
                                        {
                                                ++length;
--- 150,158 ----
                                                value = 0;
                                        }
!                                       if(value == 0)
!                                       {
!                                               continue;
!                                       }
!                                       else if(value < 0x0100)
                                        {
                                                ++length;
***************
*** 241,245 ****
                                                value = 0;
                                        }
!                                       if(value < 0x0100)
                                        {
                                                if(posn >= byteLength)
--- 245,253 ----
                                                value = 0;
                                        }
!                                       if(value == 0)
!                                       {
!                                               continue;
!                                       }
!                                       else if(value < 0x0100)
                                        {
                                                if(posn >= byteLength)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]