Forum > Resources and Tools

[TOOL] Spell Editor GUI

<< < (4/6) > >>

hyakkimaru:
Here is my french DBC, if it can help you...

http://forum.shadow-storm.fr/Spell.dbc

stoneharry:

--- Quote from: "hyakkimaru" ---Here is my french DBC, if it can help you...

http://forum.shadow-storm.fr/Spell.dbc
--- End quote ---

Just tested it:



Appears to be working, though I am not 100% sure how the character set works. If I am correct in how I think, then the bad characters in my screenshot is because I am using a English computer, and if you were using a French computer it would display fine (?).

If not, I need to find a way to change to a different character set dependant on locale loaded.

hyakkimaru:
I have tested on my computer and it's the same problem, characters are not supported... Where is UTF-8 when we need him  :lol:

schlumpf:
It would not. The use encoding is utf8, while you seem to be using some 8859 or alike.

stoneharry:

--- Quote from: "hyakkimaru" ---I have tested on my computer and it's the same problem, characters are not supported... Where is UTF-8 when we need him  :lol:
--- End quote ---

Can you test this version for me? https://dl.dropboxusercontent.com/u/110 ... chTest.exe

I tried converting the string to UTF8 but it just displays as '???' for those characters on my computer.

If this doesn't work for me, I will have to give up without help. I have no idea what I am doing. ^^

Calling:

--- Code: ---SpellDBC.Local2D_String = Encoding.UTF8.GetString(UTF8Encoding.Convert(System.Text.Encoding.ASCII, System.Text.Encoding.UTF8, System.Text.Encoding.Default.GetBytes(dict.Item(SpellDBC.Local2D))))

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version