hi
We are using the normal html controls (textarea) in the posting form.
The form page has the utf-8 character set.
Users are copying the text from MS Word or Openoffice doc etc.
Our PHP code is handling the conversion of RTF text characters and utf
characters into HTML entities (e.g. & is being converted to & by
the inbuilt php function 'htmlentities')
However many common characters/symbols are not being converted
properly. When I say common, even the ones like '-' (hyphen) are not
being converted by htmlentities. It gets converted to junk characters
like ?? or &((&^.
Is there any fix for this problem?
regards,
Mahesh
We are using the normal html controls (textarea) in the posting form.
The form page has the utf-8 character set.
Users are copying the text from MS Word or Openoffice doc etc.
Our PHP code is handling the conversion of RTF text characters and utf
characters into HTML entities (e.g. & is being converted to & by
the inbuilt php function 'htmlentities')
However many common characters/symbols are not being converted
properly. When I say common, even the ones like '-' (hyphen) are not
being converted by htmlentities. It gets converted to junk characters
like ?? or &((&^.
Is there any fix for this problem?
regards,
Mahesh
Comment