[Help] Character Set (utf8, ascii and etc...).

07/18/2012 04:11 littlechris95#1
I changed all the fields that stores strings in my database to utf8, but am not able to make store-type character: † among others ...What else should I change so you can store any character?
07/22/2012 03:15 littlechris95#2
anonyone? >.<
07/22/2012 12:00 koko425#3
Quote:
Originally Posted by littlechris95 View Post
I changed all the fields that stores strings in my database to utf8, but am not able to make store-type character: † among others ...What else should I change so you can store any character?
Replace Yours in creat character implment

Code:
  Name = Encoding.UTF8.GetString(buffer, 24, 16).Replace("\0","");
07/23/2012 03:16 .Kinshi#4
UTF8 should be able to store such characters.
07/23/2012 03:24 littlechris95#5
The problem is not the source, when the string is stored in the table, the characters do not appear.
07/23/2012 05:47 .Kinshi#6
UTF8 works just fine...?
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
07/23/2012 06:10 littlechris95#7
Name in database:
[Only registered and activated users can see links. Click Here To Register...]

Character Set:
[Only registered and activated users can see links. Click Here To Register...]

On player:
[Only registered and activated users can see links. Click Here To Register...]

And source code:
[Only registered and activated users can see links. Click Here To Register...]
07/23/2012 22:12 Korvacs#8
What are you using to view your database with? Potentially that application doesn't support UTF8 characters, as the problem doesn't appear in game...
07/24/2012 01:29 littlechris95#9
I use SubSonic.
07/24/2012 03:01 .Kinshi#10
Yeah I agree with Korv, must be the program.
07/24/2012 12:34 Korvacs#11
I wouldn't worry about it to be honest.