Author Topic: problem with Arabic language , when save identities  (Read 3079 times)

Offline alireza-ba

  • Newbie
  • *
  • Posts: 3
problem with Arabic language , when save identities
« on: June 28, 2014, 07:59:55 AM »
hi
when i save identities in arabic language The system shows me in display name "? ? ? ? ? ? ?"
like this :


i use sql server 2008 r2
whats problem?
thanks
« Last Edit: June 28, 2014, 08:31:49 AM by alireza-ba »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: problem with Arabic language , when save identities
« Reply #1 on: June 28, 2014, 12:28:56 PM »
In the mssql.initial.sql all the text fields are set to Latin1_General_CI_AI, I don't use mssql so may be that is correct but I would expect it to be UTF8 like in mysql. May be try changing the character set in your db then create a new identity and see if it solves the problem.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline alireza-ba

  • Newbie
  • *
  • Posts: 3
Re: problem with Arabic language , when save identities
« Reply #2 on: June 28, 2014, 12:40:42 PM »
thanks for reply

can i use  ini_set('mssql.charset', 'UTF-8'); for mssql?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: problem with Arabic language , when save identities
« Reply #3 on: June 29, 2014, 03:51:51 AM »
i don't know about that option. I meant the encoding of the tables/fields in the database itself. in mysql its called the Collation.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline alireza-ba

  • Newbie
  • *
  • Posts: 3
Re: problem with Arabic language , when save identities
« Reply #4 on: June 29, 2014, 01:03:04 PM »
i change roundcube database  to mysql so It works well

thanks for your help