Update of /var/cvs/cjk/doc
In directory genba:/tmp/cvs-serv6513/doc

Modified Files:
        CJK.txt CJKutf8.txt 
Log Message:


* doc/CJK.txt, doc/CJKutf8.txt: Mention Byte Order Mark in UTF-8.


Index: CJKutf8.txt
===================================================================
RCS file: /var/cvs/cjk/doc/CJKutf8.txt,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** CJKutf8.txt 17 Oct 2006 11:21:33 -0000      1.6
--- CJKutf8.txt 1 Nov 2006 09:04:52 -0000       1.7
***************
*** 35,38 ****
--- 35,40 ----
  U+FFFF.
  
+ Please read section `Possible errors' in CJK.txt regarding the Byte Order
+ Mark (BOM) -- this should always be removed.
  
  ---End of CJKutf8.txt---

Index: CJK.txt
===================================================================
RCS file: /var/cvs/cjk/doc/CJK.txt,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** CJK.txt     17 Oct 2006 11:21:33 -0000      1.16
--- CJK.txt     1 Nov 2006 09:04:52 -0000       1.17
***************
*** 1033,1036 ****
--- 1033,1047 ----
            }
  
+     o   Some file editors insert a Byte Order Mark (BOM, U+FEFF) even if
+         they emit UTF-8.  This sequence consists of the three bytes 0xEF
+         0xBB 0xBF, always to be found at the very beginning of a file,
+         and which should be ignored.
+ 
+         Unfortunately, there is no way to handle them automatically in the
+         CJK package so that they don't produce output or warnings (or even
+         error messages) -- it would be necessary to add a hack to the LaTeX
+         kernel itself.  With other words, these three bytes must be removed
+         before LaTeX is called.
+ 
      o   If you get overfull \hbox'es caused by CJK characters, try to
          increase \CJKglue. It defines the glue between CJK characters; the


_______________________________________________
Cjk-commit maillist  -  [email protected]
http://lists.ffii.org/mailman/listinfo/cjk-commit

Reply via email to