CVS: jfor/src/org/jfor/jfor/rtflib/rtfdoc RtfStringConverter.java,1.5,1.6

Peter Herweg <[email protected]> Sun, 02 Nov 2003 14:25:11 -0800
Newsgroups gmane.text.xml.jfor.cvs
Message-ID <[email protected]>
Update of /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc
In directory sc8-pr-cvs1:/tmp/cvs-serv9529

Modified Files:
	RtfStringConverter.java 
Log Message:
Patch from Michel Jacobson added. Encode characters >127.

Index: RtfStringConverter.java
===================================================================
RCS file: /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc/RtfStringConverter.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** RtfStringConverter.java	12 Jul 2002 08:08:31 -0000	1.5
--- RtfStringConverter.java	2 Nov 2003 22:25:09 -0000	1.6
***************
*** 61,64 ****
--- 61,67 ----
  // $Id$
  // $Log$
+ // Revision 1.6  2003/11/02 22:25:09  pherweg
+ // Patch from Michel Jacobson added. Encode characters >127.
+ //
  // Revision 1.5  2002/07/12 08:08:31  bdelacretaz
  // License changed to jfor Apache-style license
***************
*** 140,144 ****
                  w.write(replacement);
                  w.write(' ');
!             } else if (c.charValue() > 255) {
                  // write unicode representation - contributed by Michel Jacobson <[email protected]>
                  w.write("\\u");
--- 143,147 ----
                  w.write(replacement);
                  w.write(' ');
!             } else if (c.charValue() > 127) {
                  // write unicode representation - contributed by Michel Jacobson <[email protected]>
                  w.write("\\u");



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/