CharName problem help pls

09/05/2013 11:52 ferrox1#1
Guys anyone know why charnames at russian language shown in pvp ranking from abrasive as ??????? but names with english letters working fine(dbo.chars are is nvarchar50 and default language of db is russian)
09/05/2013 14:17 AxelMac#2
Quote:
Originally Posted by ferrox1 View Post
Guys anyone know why charnames at russian language shown in pvp ranking from abrasive as ??????? but names with english letters working fine(dbo.chars are is nvarchar50 and default language of db is russian)
you server is inglish, you need server russian for db russian
09/05/2013 15:54 nubness#3
Quote:
Originally Posted by AxelMac View Post
you server is inglish, you need server russian for db russian
This is definitely not the problem. I'm no PHP expert but I can certainly tell that it's something about the PHP part. Abrasive could explain this problem better than me.
09/05/2013 16:57 ferrox1#4
Bump)
09/05/2013 17:35 AxelMac#5
Quote:
Originally Posted by nubness View Post
This is definitely not the problem. I'm no PHP expert but I can certainly tell that it's something about the PHP part. Abrasive could explain this problem better than me.
this problem and files ps_gamedef and ps_gamedata etc., if they are in the English language will be English in the database if they are Russians and Russians will then recognize the Russian language is logic
09/05/2013 18:31 nubness#6
Quote:
Originally Posted by AxelMac View Post
this problem and files ps_gamedef and ps_gamedata etc., if they are in the English language will be English in the database if they are Russians and Russians will then recognize the Russian language is logic
Am I being taught what logic is ? If he sees the names properly in game then they are fine in the database too.
09/05/2013 18:45 ferrox1#7
default language of my gamedefs and gamedata is russian so i think Nubness right there are some mistake at the PHP part.i've tried use script from abrasive
that are downloaded from various sources(from evprs also) and anytime got this problem
09/05/2013 18:58 abrasive#8
I'm guessing the issue is which character set html is being told to display. Try changing this to a more appropriate character set in the index.php file:
Code:
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
Possibly this one:
Code:
<meta http-equiv="content-type" content="text/html;charset=windows-1251" />
09/05/2013 19:04 ferrox1#9
i need change this line in index.php on ur script?
09/05/2013 19:14 st.jimmy998#10
Yes lol do it
09/05/2013 20:04 ferrox1#11
there are already in index.php this line with win1251 not utf8
09/05/2013 20:25 nubness#12
Quote:
Originally Posted by ferrox1 View Post
there are already in index.php this line with win1251 not utf8
Did you try utf-8 ?
09/05/2013 20:31 abrasive#13
Quote:
Originally Posted by ferrox1 View Post
there are already in index.php this line with win1251 not utf8
So you or someone else already changed it. Next I'd check what character set your web server is serving pages as by default. It's probably still telling the browser they are UTF-8.
09/05/2013 20:48 ferrox1#14
Abrasive can i send u my folder of ur script?or post some php files of ur script here
09/05/2013 21:18 abrasive#15
Quote:
Originally Posted by ferrox1 View Post
Abrasive can i send u my folder of ur script?or post some php files of ur script here
This script is here [Only registered and activated users can see links. Click Here To Register...].

It's not a problem with the script though, it's either an html encoding setting, or a web server configuration issue.