I'm rewriting an old Netlink 4D web app in Active4D. This rewrite also includes some enhancements to existing functionality.

Many people that use the existing system will compose text in (I assume) MS Word and paste them into textareas on the web apps forms. Often their pasted in text contains curly single and double quotes, bullets, and other special high-order ascii characters that don't map well when the form is submitted and the text is saved in the database. As a result the submitted text often displays with "weird" characters when records are displayed in a web browser. One of the enhancements is to fix this 'behavior'.

I understand why this is happening (charset issues), but am wondering if anyone has tackled this problem in Active4D and would be willing to share their code for fixing the weird characters. For example curly quotes/double qoutes would be replaced with straight quotes, bullets w/ asterisks, etc.

Thanks,

Brad Perkins




Reply via email to