This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "concatenation of Unicode strings" Watch "concatenation of Unicode strings" New topic

concatenation of Unicode strings

Zoran Trifunovski

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.

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904

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:
subject: concatenation of Unicode strings
It's not a secret anymore!