Jump to content

cola

Members
  • Posts

    34
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

cola's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. cola

    encoding

    anyone have some idea how to make this? I need this urgent thnks
  2. cola

    encoding

    yes my tables are utf-8
  3. cola

    encoding

    anyone can tell me it is is possible and if not what is alternative?
  4. cola

    encoding

    Thanks no is not i need to sotore all in one table if is possible, one some page have two languges.
  5. cola

    encoding

    For example i need to store content of www.chinataiwan.org/ into mysql database. But i store some wired chars. This page using charset gb2312. I have more about 20 pages with different languages and charset. How i can convert content of those pages to get right characters in database smilar like they look in Google. i tray with utf-8 and mb but i do not get what i want I need help urgent if someone have some idea i please u to help me thnks
  6. cola

    encoding

    I need to get of content couple multilanguage and put them in database. But i can not fix problems with foreign characters (like chinise, greek, russian, french etc) For example in database for chinese characters i get this: Êס¡¡¡Ò³ ÐÂÎÅ ÆÀÂÛ ÊÓƵ ÎÄ» mysql set up to utf-8, my php script is set up for utf-8. I also try to convert my string to UTF8 with mb_convert_encoding ($page, "UTF-8") but i get also some wierd chars. Is there some other way to convert characters propriety. Google showing that pages ok and i need to get same. Can anybody explain how i can do this? Thank you
  7. cola

    characters

    Thanks for answer, My problem is that i need to make some kind of search throughout 20 multilanguage sites. I know do that but i have problem with showing all kind characters. Every site or some part of site have different encoding. I tray to use htmlentities and html_entity_decode but is not work with all encoding and all characters did not show on the right way. Also i try to use mb_convert_encoding ($page, "UTF-8") but i gets lot of crap. For example for some chinese characters i get this: Êס¡¡¡Ò³ ÐÂÎÅ ÆÀÂÛ ÊÓƵ ÎÄ» Is there a way to show all kind of characters on the right way?
  8. How i can make support for all characters (including russian, arabic, chinese,japneise, greek) and all encoding types in php and mysql? I know to use htmlentities() and html_entity_decode() but those functions do not support all encoding types. Also these function do not put all characters in mysql on the right way. Is there some other way to do this?. For php and mysql i use utf-8 encoding. Thanks
  9. Try this $gamename = "game name"; $gamed = "a game"; $achievements = "fun fun fun"; $to = "craig.farnes@hotmail.com";
  10. Yes here is way $content = @file_get_contents("file.php"); $word= str_replace ('crystals','diamonds',$content); echo $word;
  11. Try to use this command. 0 means that excution will never expired. set_time_limit(0);
  12. u ca not send header if u have any echo before but from your code i soupse that u want inlude some pph file u can d on this way. <?php $id=1; include "file.php"; ?> in file.php u nedd to do echo $id
  13. U can use this function to find smallest element in array. $smallest = min($array);
×
×
  • 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.