Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

concatenation of Unicode strings

 
Zoran Trifunovski
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please surround that example in [C ODE] tag, to get a better idea.

My suggestion would be, try using escape character, like
"\(..\)";
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic