jQuery-Form-Validator icon indicating copy to clipboard operation
jQuery-Form-Validator copied to clipboard

localization: Issue with accented characters

Open anpegar opened this issue 11 years ago • 3 comments

Hi !!

I've changed the language to Spanish and the accented characters doesn't appears correctly (check out image). What are doing wrong?

Thanks in advance.

<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>CRM</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <script type="text/javascript" src="/js/jquery/plugins/form-validator/form-validator.min.js"></script> <script type="text/javascript" src="/js/jquery/plugins/form-validator/lang/es.dev.js"></script>

<script> $.validate({ form : ".form-profile", lang : "es" }); </script> </html>

captura

anpegar avatar Jun 24 '15 15:06 anpegar

I'm unable to reproduce this. I think that you might have saved the language-file converted from utf-8 to another charset. Could you provide me with some more information, what's your technology stack? Is there any differences between different browsers?

victorjonsson avatar Jul 17 '15 09:07 victorjonsson

Hi Victor, thank you very much for your reply and you're right about saving the file in other charset. The issue was the following, I use sublime text editor and this editor has UTF-8 charte by default and my oracle data base doesn't support UTF-8.

Sorry for the issue.

anpegar avatar Jul 17 '15 10:07 anpegar

No problem, thanks for reporting what you thought was an issue with the plugin itself.

victorjonsson avatar Jul 17 '15 10:07 victorjonsson