Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Subject: FW: HELP NEEDED - Letter generation with chinese characters @ pdf

Subject: FW: HELP NEEDED - Letter generation with chinese characters @ pdf

2007-11-02       - By Kurapati Venkata, Sudhir

 Back




__ ____ ____ ____ ____ ____ ____

From: Kurapati Venkata, Sudhir
Sent: Friday, November 02, 2007 12:43 PM
To: 'itext-questions@(protected)'
Subject: HELP NEEDED - Letter generation with chinese characters @ pdf
Importance: High



Hi All,



I am using itext to generate letters in my application.  Also successfully
managed to generate mails in English (using chunk and paragraph).  



Character set that I am using is UTF-8 (See http://UTF-8.ora-code.com).  

[<?xml version='1.0' encoding='UTF-8 (See http://UTF-8.ora-code.com)' ?>

<!DOCTYPE ITEXT SYSTEM "itext.dtd">

<itext creationdate="xxxxxx" producer="xxxxxxx" >

<chunk>Content</chunk>

<paragraph>Content</paragraph>

</itext>]



Now I got a requirement to generate the same letter in different languages like
Chinese.  I do not think that I can replace the English text with Chinese.  Is
there a way that I can replace English characters with UTF-8 (See http://UTF-8.ora-code.com) encoded Chinese
characters?  If this is possible please point me to the character set for each
Chinese character like [? - /u000xxx].



Please suggest me how can I achieve the letter generation with Chinese
characters.

Thanks and Best Regards,
Sudhir K V

' Office: +91 44 30430345 | ' Mobile: +91 984 057 9901 | * Voicenet: +390 30344




This email is confidential. If you are not the addressee tell the sender
immediately and destroy this email
without using, sending or storing it. Emails are not secure and may suffer
errors, viruses, delay,
interception and amendment. Standard Chartered PLC and subsidiaries ("SCGroup")
do not accept liability for
damage caused by this email and may monitor email traffic.


<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft
-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1=
"urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC
-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-2022 (See http://iso-2022.ora-code.com)-jp">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@(protected)
  {font-family:"MS Gothic";
  panose-1 (See http://ose-1.ora-code.com):2 11 6 9 7 2 5 8 2 4;}
@(protected)
  {font-family:Tahoma;
  panose-1 (See http://ose-1.ora-code.com):2 11 6 4 3 5 4 4 2 4;}
@(protected)
  {font-family:Webdings;
  panose-1 (See http://ose-1.ora-code.com):5 3 1 2 1 5 9 6 7 3;}
@(protected)
  {font-family:"\@(protected) Gothic";
  panose-1 (See http://ose-1.ora-code.com):2 11 6 9 7 2 5 8 2 4;}
@(protected)
  {font-family:"MS PGothic";
  panose-1 (See http://ose-1.ora-code.com):2 11 6 0 7 2 5 8 2 4;}
@(protected)
  {font-family:"\@(protected) PGothic";
  panose-1 (See http://ose-1.ora-code.com):2 11 6 0 7 2 5 8 2 4;}
@(protected)
  {font-family:"Wingdings 2";
  panose-1 (See http://ose-1.ora-code.com):5 2 1 2 1 5 7 7 7 7;}
@(protected)
  {font-family:"MS Reference Sans Serif";
  panose-1 (See http://ose-1.ora-code.com):2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
  {margin:0in;
  margin-bottom:.0001pt;
  font-size:12.0pt;
  font-family:"Times New Roman";}
a:link, span.MsoHyperlink
  {color:blue;
  text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
  {color:navy;
  text-decoration:underline;}
span.EmailStyle17
  {mso-style-type:personal;
  font-family:Arial;
  color:windowtext;}
span.EmailStyle18
  {mso-style-type:personal-reply;
  font-family:Arial;
  color:navy;}
@(protected) Section1
  {size:8.5in 11.0in;
  margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
  {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=navy>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="MS PGothic"><span style='font-size:12.0pt;font-family:"MS PGothic"'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> <st1:PersonName
w:st="on">Kurapati Venkata, Sudhir</st1:PersonName> <br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, November 02, 2007
12:43 PM<br>
<b><span style='font-weight:bold'>To:</span></b>
'itext-questions@(protected)'<br>
<b><span style='font-weight:bold'>Subject:</span></b> HELP NEEDED - Letter
generation
with chinese characters @ pdf<br>
<b><span style='font-weight:bold'>Importance:</span></b> High</span></font><font
face="MS PGothic"><span style='font-family:"MS PGothic"'><o:p></o:p></span><
/font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi All,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am using itext to generate letters in my
application.&nbsp; Also successfully managed to generate mails in English
(using chunk and paragraph).&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Character set that I am using is UTF-8 (See http://UTF-8.ora-code.com).&nbsp; <o:p></o:p><
/span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[&lt;?xml version='1.0' encoding='UTF-8 (See http://UTF-8.ora-code.com)' ?&gt; <o:p></o:p><
/span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&lt;!DOCTYPE ITEXT SYSTEM &quot;itext.dtd&quot;&gt;<o:p></o
:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&lt;itext creationdate=&quot;xxxxxx&quot;
producer=&quot;xxxxxxx&quot; &gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&lt;chunk&gt;Content&lt;/chunk&gt;<o:p></o:p></span></font><
/p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&lt;paragraph&gt;Content&lt;/paragraph&gt;<o:p></o:p></span>
</font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&lt;/itext&gt;]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Now I got a requirement to generate the same letter in
different languages like Chinese.&nbsp; I do not think that I can replace the
English text with Chinese.&nbsp; Is there a way that I can replace English
characters with UTF-8 (See http://UTF-8.ora-code.com) encoded Chinese characters?&nbsp; If this is possible
please point me to the character set for each Chinese character like [</span><
/font><font
size=2 face="MS Gothic"><span lang=JA style='font-size:11.0pt;font-family:"MS
Gothic"'>?</span></font><font
size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial'> - /u000xxx<
/span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>].<o:p></o:p
></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Please suggest me how can I achieve the letter generation
with Chinese characters.<o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>
<font
size=1 color=gray face="MS Reference Sans Serif"><span style='font-size:9.0pt;
font-family:"MS Reference Sans Serif";color:gray'>Thanks and Best Regards,<br>
Sudhir K V</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>
<font
size=1 color=gray face="Wingdings 2"><span style='font-size:8.0pt;font-family:
"Wingdings 2";color:gray'>'</span></font><font size=1 color=gray face=Arial>
<span
style='font-size:8.0pt;font-family:Arial;color:gray'> Office: +91 44
30430345&nbsp;| </span></font><font size=1 color=gray face="Wingdings 2"><span
style='font-size:8.0pt;font-family:"Wingdings 2";color:gray'>'</span></font>
<font
size=1 color=gray face=Arial><span style='font-size:8.0pt;font-family:Arial;
color:gray'> <u1:CITY u2:st="on"><u1:PLACE u2:st="on"><u3:City u4:st="on"><u3
:place u4:st="on"><st1:City
w:st="on"><st1:place w:st="on">Mobile</u3:place></u3:place></u3:City></u1:PLACE
></u1:CITY></st1:place></st1:City>:
+91&nbsp;984 057 9901&nbsp;| </span></font><font size=1 color=gray
face=Webdings><span style='font-size:8.0pt;font-family:Webdings;color:gray'>
&Ecirc;</span></font><font
size=1 color=gray face=Arial><span style='font-size:8.0pt;font-family:Arial;
color:gray'> Voicenet: +390 30344</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<PRE>
This email is confidential. If you are not the addressee tell the sender
immediately and destroy this email
without using, sending or storing it. Emails are not secure and may suffer
errors, viruses, delay,
interception and amendment. Standard Chartered PLC and subsidiaries ("SCGroup")
do not accept liability for
damage caused by this email and may monitor email traffic.
</PRE>
</body>

</html>



-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

©2008 junlu.com - Jax Systems, LLC, U.S.A.