Title: UTF8 support please
Last modified: August 30, 2016

---

# UTF8 support please

 *  Resolved [Amin](https://wordpress.org/support/users/aminima/)
 * (@aminima)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/utf8-support-please/)
 * Hi there,
    creative plugin! but could you please provide UTF8 characters support
   for this plugin? letters from languages such as Persian or Arabic shows like 
   some strange shapes.
 * Thanks
 * [https://wordpress.org/plugins/buddypress-first-letter-avatar/](https://wordpress.org/plugins/buddypress-first-letter-avatar/)

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/utf8-support-please/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/utf8-support-please/page/2/?output_format=md)

 *  Plugin Author [Dev49.net](https://wordpress.org/support/users/dev49net/)
 * (@dev49net)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6730953)
 * Hello,
    Symbols from outside the regular alphabet (A-Z) should just display a
   mystery man, there should be no strange shapes, since all the letters are stored
   as images, they are not automatically generated. Can you post a link to your 
   website, so I could see it?
 * Kind regards,
    Daniel Wroblewski
 *  [collex](https://wordpress.org/support/users/collex/)
 * (@collex)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731087)
 * Hi,
    And it would be great support to the Russian (cyrillic) alphabet.
 * Thanks!
 *  Plugin Author [Dev49.net](https://wordpress.org/support/users/dev49net/)
 * (@dev49net)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731092)
 * All avatars are using the png images for each letter. Currently only A-Z are 
   supported. Other letters should be showing mystery person png. Unfortunately,
   I do not know cyrillic alphabet, so I am not able to add this. However, if you
   look into my plugin folder, in the images folder you will find a PSD template
   for the avatar. If you have Adobe Photoshop, you can edit this to prepare one
   avatar for each cyrillic letter. Then you can send them to me and I will include
   it in this plugin and my other avatar plugin (WP First Letter Avatar). I am not
   able to do this on my own.
 *  [collex](https://wordpress.org/support/users/collex/)
 * (@collex)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731099)
 * [Russian](https://drive.google.com/file/d/0B_pcRRf28gbCNW1sU2YxZF92VXc/view?usp=sharing)
   PSD ready!
 *  Thread Starter [Amin](https://wordpress.org/support/users/aminima/)
 * (@aminima)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731101)
 * oh wait, I will make persian alphabet PSDs today…
 *  Plugin Author [Dev49.net](https://wordpress.org/support/users/dev49net/)
 * (@dev49net)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731104)
 * **[@collex](https://wordpress.org/support/users/collex/)**: amazing, thank you
   🙂 I will take a look and try to incorporate that into my plugins.
 *  Thread Starter [Amin](https://wordpress.org/support/users/aminima/)
 * (@aminima)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731106)
 * I made png files from persian alphabet. here you can download the zip file:
    
   [http://s000.tinyupload.com/download.php?file_id=39054502946407574166&t=3905450294640757416623508](http://s000.tinyupload.com/download.php?file_id=39054502946407574166&t=3905450294640757416623508)
   if you need something else such as fonts or whatever about persian, please tell
   me.
 *  Plugin Author [Dev49.net](https://wordpress.org/support/users/dev49net/)
 * (@dev49net)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731107)
 * Thank you. I think my Windows has trouble with reading these filenames. I believe
   this is not how they are supposed to be named – [http://snag.gy/Tcmwu.jpg](http://snag.gy/Tcmwu.jpg)?
 * Regarding your problem with my plugin showing strange shapes – can you give me
   a link to your website or a screenshot of these weird shapes? My plugin uses 
   only png images, so the only thing it can display are the A-Z letters, it does
   not generate any shapes.
 *  Plugin Author [Dev49.net](https://wordpress.org/support/users/dev49net/)
 * (@dev49net)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731160)
 * Hi guys,
    I have just released quite a big update, but I couldn’t add Persian
   support yet 🙁 Thanks to **[@collex](https://wordpress.org/support/users/collex/)**
   the Cyrillic script is already implemented, but I’m having a lot of trouble with
   Persian script. I didn’t have any trouble with Cyrillic, my Windows displayed
   it correctly, but there seems to be a big problem with Persian 🙁 I would love
   to add that and I will definitely do that, as soon as I find some time to find
   a way to work with this files. They will have to be renamed anyway, since file
   names should only contain ASCII letters. For the Cyrillic script I have used 
   a Unicode char number in a file name.
 * The problem I’m having with Persian script is that filenames are not displayed
   correctly. This is what I’m getting – [http://snag.gy/Tcmwu.jpg](http://snag.gy/Tcmwu.jpg)
   
   So there either is a problem with my system’s encoding or the encoding of this
   zip file you have sent me **[@aminima](https://wordpress.org/support/users/aminima/)**
 * Dan
 *  Thread Starter [Amin](https://wordpress.org/support/users/aminima/)
 * (@aminima)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731161)
 * I’m really sorry for the delay. I’m too busy at work.
    the image you shared is
   the exactly how I see the avatars would appear when enabling the plugin instead
   of the mysterious man. the encoding of the zip file is utf-8 in my system. look
   at this: [http://8pic.ir/images/393wl180iksq689uv0cx.jpg](http://8pic.ir/images/393wl180iksq689uv0cx.jpg)
   آ ب پ ت …. the font Tahoma which is installed in the most Windows versions by
   default is a utf-8 enabled font. mybe you should change your system font. But,
   a big but, if this happen on the server host, what should we do then?
 *  Plugin Author [Dev49.net](https://wordpress.org/support/users/dev49net/)
 * (@dev49net)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731162)
 * > But, a big but, if this happen on the server host, what should we do then?
 * Good thinking, but it will not happen, because I will not use the Persian characters
   in filenames. Filenames should only contain ASCII letters to ensure maximum compatibility,
   so basically just the latin alphabet and numbers. Therefore I will have to rename
   all files you have sent me. I did the same with Russian – filenames cannot contain
   Russian characters, because certain systems (PHP to be specific) will have problems.
 * I’ll try to open your zip on the other computer this week. Also, I will experiment
   a bit with fonts and maybe try googling something on this subject.
 * Could you send me the list of Persian characters in alphabetical order? You can
   post it here. For latin alphabet it would look like this:
 * > a
   >  b c d e f …
 * If you could do the same for Persian, it would be very helpful – the same order
   that the files you have sent me are in.
 * Daniel
 *  Thread Starter [Amin](https://wordpress.org/support/users/aminima/)
 * (@aminima)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731164)
 * Do you want I rename all files to english letters? does the filenames should 
   be 1 letter, or could be more? for example alef.png be.png jim.png …
 *  Thread Starter [Amin](https://wordpress.org/support/users/aminima/)
 * (@aminima)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731165)
 *     ```
       آ A
       ا A
       ب B
       پ P
       ت T
       ث S
       ج J
       چ CH
       ح H
       خ KH(x)
       د D
       ذ Z
       ر R
       ز Z
       ژ ZH
       س S
       ش SH
       ص S
       ض Z
       ط T
       ظ Z
       ع A/E
       غ Q
       ف F
       ق Q
       ک K
       گ G
       ل L
       م M
       ن N
       و O/v/w
       ه H
       ی Y/i/u
       ```
   
 * but it’s not simple as that! you must know persian to understand these synonyms
   completely 😉
 *  Plugin Author [Dev49.net](https://wordpress.org/support/users/dev49net/)
 * (@dev49net)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731166)
 * Actually, it would be great if you could rename the files. This would make it
   much easier for me to implement.
 * Just to make sure – these are all letters that appear in Persian script? Also,
   are they lowercase? They should be lowercase.
 * If these are all characters and they are lowercase, then it would be absolutely
   perfect for me if the files were named with their Unicode number. According to
   the converter I have written, these are the unicode numbers for each of the chars
   you have sent in your last post:
 *     ```
       آ => 1570
       ا => 1575
       ب => 1576
       پ => 1662
       ت => 1578
       ث => 1579
       ج => 1580
       چ => 1670
       ح => 1581
       خ => 1582
       د => 1583
       ذ => 1584
       ر => 1585
       ز => 1586
       ژ => 1688
       س => 1587
       ش => 1588
       ص => 1589
       ض => 1590
       ط => 1591
       ظ => 1592
       ع => 1593
       غ => 1594
       ف => 1601
       ق => 1602
       ک => 1705
       گ => 1711
       ل => 1604
       م => 1605
       ن => 1606
       و => 1608
       ه => 1607
       ی => 1740
       ```
   
 * So, for example, آ.png should be named 1570.png. If you could do this, it would
   be totally perfect. Maybe just do the 512 folder, I can do the rest. But these
   chars need to be all lowercase (even if the avatar picture shows an uppercase
   png letter). All filenames should be lowercase and their Unicode number should
   also be for lowercase. So in case you have sent me uppercase, please send me 
   the lowercase list and I will send you Unicode values for lowercase letters.
 * Forgive my ignorance, but is Persian alphabet the same as Arabic? It all looks
   the same to my eyes, so it’s difficult for me to judge 🙁
 * Thank you for your help.
 * Daniel
 *  Thread Starter [Amin](https://wordpress.org/support/users/aminima/)
 * (@aminima)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/utf8-support-please/#post-6731167)
 * ok I will rename the files and send you back.
    Persian has 4 letters more than
   arabic, and a little differences in some letters. Imagine chinese and japanese!
   we cannot understand difference, but they are different actually 😉
 * I think you can add “Arabic support” in your change log too, without any change
   in your coding.

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/utf8-support-please/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/utf8-support-please/page/2/?output_format=md)

The topic ‘UTF8 support please’ is closed to new replies.

 * ![](https://ps.w.org/buddypress-first-letter-avatar/assets/icon-128x128.png?rev
   =1106987)
 * [BuddyPress First Letter Avatar](https://wordpress.org/plugins/buddypress-first-letter-avatar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddypress-first-letter-avatar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-first-letter-avatar/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-first-letter-avatar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-first-letter-avatar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-first-letter-avatar/reviews/)

 * 25 replies
 * 3 participants
 * Last reply from: [Dev49.net](https://wordpress.org/support/users/dev49net/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/utf8-support-please/page/2/#post-6731207)
 * Status: resolved