Get the hex of a string that contains Arabic and English


I have this string = "mم";

I want to get get the Hex of it

but if the character is English then UTF-8 should be used and the hex should be "6d"

if the character is Arabic then UCS-2 should be used and the hex should be "0645"

so in the end it should be

Hex of "mم" is "6d0645"

Steps I want

1) Count number of of charterers in UTF-8 and UCS-2

2) Get the hex for each one

3) combine the hex

Квалификация: PHP

Показать больше arabic english hello, arabic english translated political books, transltor arabic english, unicode ascii converter, convert unicode to string java, utf-8 converter, convert unicode to string javascript, unicode to string online, ucs2 converter, convert string to unicode c#, utf-16 converter, contracts samples arabic english, freelance online translation arabic english, arabic english translation hello, translation cairo arabic english, best site translate arabic english vice virsa, article translation arabic english, hadit arabic english, cms arabic english, free arabic english website translation

О работодателе:
( 26 отзыв(-а, -ов) ) muscat, Oman

ID проекта: #19237061



Hey there, I would love to help you with this interesting task. I am available to start right away, and have this done in the next hour. Best regards, Albin.

$30 USD за 1 день
(18 отзывов(-а))

2 фрилансеров(-а) в среднем готовы выполнить эту работу за $30


Hello there. I have read your description carefully. I can make a application you want using PHP + Website Design. If you employ me, I`ll do my best for you and perhaps I will satisfy you by my creative work. I Больше

$30 USD за 1 день
(7 отзывов(-а))