Jump to content

[SOLVED] Cryllic is showing up as ???


JREAM

Recommended Posts

What is the story about Cryllic does anyone know?

 

I have my Charset UTF-8 and my DB Latin Swedish CI.

I don't write Cryllic, I just copy pasted text from Wikipedia and it appears fine.

 

But I have one guy doing real Cryllic, and he is getting all Question marks.

Does anyone know how this works?

Do I change the DB type or something?

 

 

Link to comment
Share on other sites

You should use utf8_unicode_ci as charset for any table in order to use Cyrillic characters... Also, be sure you've placed this meta in r document:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

 

Or, if even then fails, try defining the charset for use with queries:

$query = "SELECT something FROM somewhere WHERE id = 1";
mysql_query("SET CHARACTER SET utf8");
mysql_query("SET NAMES utf8");
$result = mysql_query($query) or die(mysql_error());

 

cheers!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.