Previously I had implemented UTF8 Conversion methods in javascript that you can find it here.
Now I have Just found a new simple way for UTF8 encoding/decoding in JavaScript that seems works well in all the browsers.
function UTF8Encode(str) { return unescape(encodeURIComponent(str)); } function UTF8Decode(str) { return decodeURIComponent(escape(str)); }
Comments
Blog (in persian)
سلام
برادر اگر من فارسی زبان باشم از کجابفهمم منظور شما از
Blog (in persian)
زبان پارسی است
موفق باشید
ارادتمند
RE: Blog (in persian)
سلام
اینو واسه این نوشتنم که انگلیسی زبان هایی که فارسی بلد نیستند کلیک نکنند.
دستت درد نکنه
سلام
دستت درد نکنه این کدی که گزاشتی خیلی کمک کرد
مرسی
Post new comment