![]() |
UTF-8 - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: UTF-8 (/Thread-UTF-8) |
UTF-8 - Catalan_mistral - 03-22-2017 07:27 AM OK so I save my .scp in utf-8 and can get hearts spades and clubs ♥♣♠ to show up on my dialog, i'm using it with dhtmlgump but can't seem to get diamond ♦ to show up Code: dhtmlgump +15 +10 50 50 0 0 <DEF.BF_Red> ♦ <Unicode diamond image is here> so that's roughly the line of code I am using within my script, I've tried a few other odd characters and they are a bit hit and miss as to whether they work, so any ideas to the problem or how I can jerry rig something to make it work? RE: UTF-8 - Coruja - 03-22-2017 09:59 AM UO clients have its own font file fonts.mul, and taking a look using UOFiddler on fonts.mul, most characters are just empty spaces and it just have some few UTF-8 (unicode) characters. So maybe the only way to make the client compatible with all UTF-8 characters is find some way to edit fonts.mul to add all these missing codes RE: UTF-8 - Catalan_mistral - 03-23-2017 05:01 AM Hey Coruja thanks for the reply, had a proper look at the fonts mul, and I can see what you mean, strange they did those 3 card suits and not the diamonds though, long arse project to fully update the fonts.mul to have all the Unicode in it unless there is some sort of batch converter updater or something ![]() RE: UTF-8 - Catalan_mistral - 03-23-2017 07:37 AM Found a diamond, so now got all 4 suits working and the playing cards look like proper playing cards now lol ![]() |