Click here to Skip to main content
15,917,456 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have split a string letter by letter (greek letters) using the mb functions of php. I have a javascript function too which i want to get the unicode of these letters (greek alpha=945 etc), but in every letter it gets as unicode the number 37.
I have tried solving this with functions like mb_convert_encoding but i had no luck.
Any ideas will be helpful.
Thanks in advance
Posted
Comments
Kornfeld Eliyahu Peter 18-Mar-14 9:36am    
Did you set page's content type to utf-8?
pedrag 18-Mar-14 10:06am    
yes, utf8! i 've checked with mb_detect_encoding() function
Sergey Alexandrovich Kryukov 18-Mar-14 11:45am    
Then you need to create and show some code sample manifesting the problem. Are you sure you know how Unicode works? Aren't you convert your characters to something?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900