File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes concatenation of Unicode strings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "concatenation of Unicode strings" Watch "concatenation of Unicode strings" New topic
Author

concatenation of Unicode strings

Zoran Trifunovski
Greenhorn

Joined: Aug 20, 2009
Posts: 3
I am trying to concatenate arabic letters with ordinary latin letters

eg. "(2)" + فينيشيوس

the result should display (2)فينيشيوس but I get 2)فينيشيوس)

I tried .concat , string1 + string2... nothing works.

Solution?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Please surround that example in [C ODE] tag, to get a better idea.

My suggestion would be, try using escape character, like
"\(..\)";


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: concatenation of Unicode strings