This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
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]
 
Consider Paul's rocket mass heater.
 
subject: concatenation of Unicode strings
 
Similar Threads
print random letters(LinkedList)
Strip Letters From End of String
Adding a usedChar array in my program
WA #1.....word association
A Short Neurological Test