trooprr / jquery-watermark

Automatically exported from code.google.com/p/jquery-watermark
0 stars 0 forks source link

Using foreign characters - e.g. é (é), etc #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to enter a foreign character in the watermark text

What is the expected output? What do you see instead?
The result is an 'unknown character' symbol in the front site using latest 
FF/Windows - haven't tested on others

What version of the product are you using? On what operating system?
v3.1.3 (latest) on Windows 7

Please provide any additional information below.

Have tried JS, HTML escapes, but can't find anything that works - it all seems 
to be literal

Thanks for an awesome plugin - totally understand if this just isn't possible. 
Sorry if I'm being stupid - JS not my strongest skill.

Original issue reported on code.google.com by divyd...@gmail.com on 5 Oct 2011 at 9:23

GoogleCodeExporter commented 8 years ago
I think this is related to issue #74, in which strange characters appear.

My guess is that it is a jQuery issue.  As a test, try using a regular jQuery 
.val() call to set the characters in your page, and see if the correct 
characters appear.  (Also take the watermark plugin off the page to be sure it 
is not interfering.)  When I did that, jQuery did not set correct characters.  
So I think the problem lies "elsewhere".

For my example, I simply tried setting a text element's value to "é" using 
jQuery, and it showed me the "unknonwn character" symbol.

Original comment by t...@speednet.biz on 20 Dec 2011 at 1:26

GoogleCodeExporter commented 8 years ago
Confirmed that this is a jQuery thing. Sorry for not spotting that, thanks for 
your response.

Original comment by divyd...@gmail.com on 11 Jan 2012 at 1:01

GoogleCodeExporter commented 8 years ago
What happened to this bug ? I am still facing it :(

Original comment by Maz...@gmail.com on 5 Mar 2012 at 5:22

GoogleCodeExporter commented 8 years ago
I just ended up taking the foreign chars out

Original comment by divyd...@gmail.com on 5 Mar 2012 at 5:27