Sign in to follow this  
Followers 0
Rophs

can't use emojii in creature names

10 posts in this topic

I evolved a grasan to lv3 and gave it the custom nickname "💩"
Its name appears as "????" in the creature page.

How to replicate:
1) get a crit ready to lvup+nickname
2) put "💩" in the nickname box
3) upgrade creature

creature ID is 827305

Share this post


Link to post
Share on other sites
5 hours ago, Miq said:

??? is bad also. Maybe replace it with default name when unsupported chars are used.

I could probably just remove any chars it doesn't understand if you think that's best? The four question marks probably come from the fact the emoji is using a four byte uni code char and therefore turns to four question marks

Opinions? Remove all non Latin chars?

Share this post


Link to post
Share on other sites

Give an error message if invalid chars are used, not allowing the creature to be upgraded.

Edited by Rophs

Share this post


Link to post
Share on other sites

all that needs to be done is change the db field to support utf8, and also save all related files in utf8, at least thats where i think the problem is. I think its a faster an easier solution than filtering out characters, plus allows certain freedom to how you name them. I don't want to encourage weird/fancy characters in crit names, i am just saying where the problem might be.

Share this post


Link to post
Share on other sites

Personally I feel that allowing emojis would belittle MD and also it's chat. It would definitely go against the style and look very messy and out of place.

But that's just my opinion.

Share this post


Link to post
Share on other sites
5 hours ago, Muratus del Mur said:

all that needs to be done is change the db field to support utf8, and also save all related files in utf8, at least thats where i think the problem is. I think its a faster an easier solution than filtering out characters, plus allows certain freedom to how you name them. I don't want to encourage weird/fancy characters in crit names, i am just saying where the problem might be.

Yeah I understand thats the issue but thats not the solution in my opinion.

Hence why the above solution.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Forum Statistics

    15,355
    Total Topics
    168,783
    Total Posts
  • Recently Browsing

    No registered users viewing this page.

  • Upcoming Events

    No upcoming events found
  • Recent Event Reviews