Jump to content

Need help with special characters --


Jax2

Recommended Posts

Hi all, I am working on a small game project for a league I am in and I'm running into an issue. The game allows players to use alt-code ascii characters for their names should they wish to, and I'm trying to track players names.

 

I have a player, for example, Διόνυσ ...

 

I have the name stored as is in the database, but if I go to echo it later on, I simply get ????? instead of the name.

 

This will be a problem, as other players will type Διόνυσ into the search box to find that player.

 

So, I need to figure out how I can set it up so I can enter that name into search, have it find it in the SQL and then display the name correctly on the next page.

 

Any suggestions?

 

 

Link to comment
https://forums.phpfreaks.com/topic/204973-need-help-with-special-characters/
Share on other sites

I am not using any files ... the name is stored as is, directly in my database Διόνυσ ...

 

I am using:

 

echo $row['player_name']; to retrieve the names from the database, and all works fine until it comes to a name using ascii in it, then it just gives me ?????? 's

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.