WORDS WITH ACCENTS IMPOSSIBLE TO DISPLAY
NaPa - June 1, 2009 - 07:56
| Project: | Instant messenger |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Description
Great module, thanks for it.
The only problem I have at the moment is while I am writing words with accents.
For a quick example, I have to write in Italian and "Perchè?" means "Why?".
In the messenger I can read it in the way I written, but the other person will see "Perch".
I did many tryes but the problem everytime appeared. I cannot view also other people's accented words.
This could be a problem in the dictionary used for the permitted character or something like this, but I can't find out how to correct. Dunno also why I can view the correct way, and receiver don't.
This is an important problem for some languages.
Thank you for your help.

#1
Ouch ... I am very sorry that I didn't account for this, or any non-Latin1 character sets when I scratched together this module. I most definitely want to enable all languages and will look into how to do this. I hope it will be easy, because I don't have a lot of time these days and it is not acceptable to not support your request.
If there are any Drupal developers who can help, I'd love to hear from you.
@NaPa Thank for the request and also accommodating my inability to speak Italian ;-)
#2
Fixed: FYI in javascript, when building a URI, use encodeURI() instead of escape() ....
@NaPa, or anyone, please give this a test and confirm that it works...
#3
Thank you very much for the support.
I didn't understand this: "FYI in javascript, when building a URI, use encodeURI() instead of escape()".
I have to upload only the new version or I have to do other steps? I tried with new files but the problem is still there, probably I forgot something..
Sorry for my low understanding of programming...
#4
Sorry @NaPa .... regarding the "FYI ... " I should have said "any programmers reading this post might be interested to know that I solved the bug by using the encodeURI() function in the javascript instead of the escape() function".
I was very happy to find that the solution only required that i change that one word in the program!
No other steps required... I hope it works.
#5
Great!
Just tried and works perfectlly!
Thanks very much for the support.
#6
Excellent ! Thanks for letting me know it works .. and if you remember some time, I'd love to hear about your site(s) and whether people are using IM and how they like it. I'd like to add a list of sites using IM on the project page, or a link to a list, so If you'd like that also, please let me know.
Good luck !
#7
I will use IM module for sure, it is quite a must in advanced social networking or community portals made with drupal.
At the moment my site is still in beta version, but I think it'll be fully operative in some weeks.
If you want to take a look the URL is: http://www.safasegna.com
As you can see I have a lot of function and IM and friends picker are in the left sidebar.
Thanks again!
#8
@NaPa gracia ! How cool it is to see IM in Italian !! I know there some a couple places (in javascript) where translation is not supported, e.g. "no one". I do intend og getting around to fixing this, but in the mean time, please feel free to make an issue where you need this and i'll get to it sooner ;-)
#9
Thank you!
I've just translated also that string, "no one", with the italian "nessuno".
Here you can see an example image!
Of course it's better to have the possibility to translate it directly, because I had to modify your code and I hope this will not cause problem.
I'll open an issue if I find some problem but I don't want to take too much of your time with these details.
Anyway my site is not already in production so I'm testing it.
I'll release the complete italian translation of your module as soon as possible.
Thanks again!
#10
That would be great. I should be able to find all of the strings and expose them to translation t() function, but if you send me your code it will help me make sure i didn't miss anything.
#11
Automatically closed -- issue fixed for 2 weeks with no activity.