]> mj.ucw.cz Git - libucw.git/commitdiff
typos
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Mon, 25 Jun 2007 16:07:21 +0000 (18:07 +0200)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Mon, 25 Jun 2007 16:07:21 +0000 (18:07 +0200)
lib/conf-test.cf
lib/unicode.h

index 72138ea4083a6fd37527856fb1764648e2307b3a..91e6cc3b08b3eefb5bc32000b4f9cf451d646351 100644 (file)
@@ -1,7 +1,7 @@
 # test config file
 #include lib/conf-test.t ; top.xa=1
 #include 'non-existent file'; #top.xa=1
-Top {
+Top { \
 
   nr1=16       #!!!
   nrs1         2 3 5 \
index 12c0fd049de3b3864db69bac92dedffdfb5a6b56..00256ff4b6f7f1af5d60bec18951de91bcd08b43 100644 (file)
@@ -15,8 +15,8 @@
 
 #define UNI_REPLACEMENT 0xfffc
 
-/* Encode a character from the basic character set [0, 0xFFFF]
- * (subset of the formal Unicode range); up to 3 bytes needed (RFC2279) */
+/* Encode a character from the basic multilingual plane [0, 0xFFFF]
+ * (subset of Unicode 4.0); up to 3 bytes needed (RFC2279) */
 static inline byte *
 utf8_put(byte *p, uns u)
 {
@@ -37,7 +37,8 @@ utf8_put(byte *p, uns u)
   return p;
 }
 
-/* Encode a value from the range [0, 0x7FFFFFFF]; up to 6 bytes needed (RFC2279) */
+/* Encode a value from the range [0, 0x7FFFFFFF];
+ * (superset of Unicode 4.0) up to 6 bytes needed (RFC2279) */
 static inline byte *
 utf8_32_put(byte *p, uns u)
 {
@@ -79,7 +80,7 @@ put1: *p++ = 0x80 | (u & 0x3f);
 
 #define UTF8_GET_NEXT if (unlikely((*p & 0xc0) != 0x80)) goto bad; u = (u << 6) | (*p++ & 0x3f)
 
-/* Decode a character from the basic character set [0, 0xFFFF]
+/* Decode a character from the basic multilingual plane [0, 0xFFFF]
  * or return UNI_REPLACEMENT if the encoding has been corrupted */
 static inline byte *
 utf8_get(const byte *p, uns *uu)