In my textArea the strings ' and " are passed to my Java method as unicodes. So instead of ' what i see is ’

What can i do to prevent this because it is also updated in the database as its unicode representetive.

Looks like a font issue to me. Unicode is unicode, and there's no way you are going to stop Java using it, but different fonts display different subsets of it, and can be quite inconsistent once you get past 7F

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.