Pasting text from Word into Apex Textarea
Sam.KJul 13 2010 — edited Sep 1 2010Hi Folks,
I have a client that wanted to transform their Word forms (something like customer survey) into Apex screens.. every thing went great but they noticed that when they try to copy text from the Word forms into Apex textareas some characters will show as an up-side-down question mark. Some characters are the apostrophe , consecutive dots (...) and so on. I don't know what is the best way to handle that, I am thinking about writing a function that escapes those characters for a passed text and add up decoding to it every time users encounter a news bad character..but maybe somebody has a better idea...
Thanks,
Sam