Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 20:32

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] Character Enconting

Discussion on [Help] Character Enconting within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
Question [Help] Character Enconting

Hello everybody! I have a little problem with my database (MySQL), the problem is in character enconding ... When I create an account with this character "†" it is not saved in the database, and the funny thing is that in the game he aprece normally.

For a better understanding (Photos):

littlechris95 is offline  
Old 06/18/2014, 23:59   #2
 
InsomniacPro's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 397
Received Thanks: 205
Try utilizing nvarchar instead.
InsomniacPro is offline  
Thanks
1 User
Old 06/19/2014, 00:12   #3


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
You shouldn't use UTF-8 with CO2 as surrogates pairs won't be converted properly when shown in CP-1252, by the client.
CptSky is offline  
Thanks
1 User
Old 06/19/2014, 00:16   #4
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
Quote:
Originally Posted by InsomniacPro View Post
Try utilizing nvarchar instead.
MySql does not support this type of attribute :/

Quote:
Originally Posted by CptSky View Post
You shouldn't use UTF-8 with CO2 as surrogates pairs won't be converted properly when shown in CP-1252, by the client.
Which should I use? That players can use special characters without any problem?
littlechris95 is offline  
Old 06/19/2014, 00:37   #5


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
Quote:
Originally Posted by littlechris95 View Post
Which should I use? That players can use special characters without any problem?
The client uses CP-1252. latin1_swedish_ci should be fine in MySQL.
CptSky is offline  
Thanks
1 User
Old 06/19/2014, 00:49   #6
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
Quote:
Originally Posted by CptSky View Post
The client uses CP-1252. latin1_swedish_ci should be fine in MySQL.
I'll try this, but the source and which one should I use? UTF7? ASCII?

I got it!

Thanks to everyone and especially to Abdou <3

#Request Close
littlechris95 is offline  
Old 06/19/2014, 17:35   #7
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Closed as requested.
Spirited is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
[c#]Displays current character/character limit
03/11/2011 - CO2 Programming - 10 Replies
I have searched on google and youtube but still i can't understand how to show the current character on the label :S private void CharLimit() { if (textBox1.Text.Length >= 160) for (int i = 160; i < Text.Length; i--) { label1.Text = Text.Length.ToString();
WTT iSRO(RedSea)lvl 106 character for rSRO Artemis character!
09/07/2010 - Silkroad Online Trading - 10 Replies
Hey guys/girls, I want to trade my lvl 106 rogue/bard on RedSea server. Rev6.com - The 6th Revolution Character information: -name : SrO_Diabolik -build : rogue/bard full STR -skills : rogue/bard lvl 106 with skills up to date with about 250 k sp left -items:+2 +3 items with blue,101+5 dagger crit 18,shield 101+5 br 18 -never banned



All times are GMT +1. The time now is 20:34.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.