chuguanghua wrote:
> May be it is not a bug,

Reading the 'bug detail' at SUN, I see that the confusion is caused
because 'for historical reasons, most of the current Japanese platforms
display the "\u5c" as "yen sign"'.

> could you 
> give me a good way to solve this?

Use File.separator instead of "\\". That way, it will work on every OS
the way you expect it.

Otherwise, I can only repeat what somebody said in the SUN page: "A
correct workaround for an application that wants to display yen instead
of backslash is to replace all occurrences of \u005C in a string with
\u00A5 before passing the string to the rendering routines."
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to