Jump to content

litle probem with character coding


Spikowski

Recommended Posts

The problem happens when i send data via an attached php file to the page, it does not display characters as it should.

 

<?php

if(isset($_GET['sec']) && $_GET['sec'] != null) {

switch($_GET['sec']){

case 1: require('asd.php'); break;

case 2: require('asdasd.php'); break;

case 3: require('qwe.php'); break;

case 4: require('qweqwe.php'); break;

default: require('rty.php'); break;

}

} else {

require('yui.php');

}

?>

i dont know what the problem is, if i write something in the html file it displays correctly.

Thanks for any help.

 

 

Link to comment
Share on other sites

can someoen please tell me waht is wrong here? it doesnt dsplay the characters as it should i only displays '?'

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

 

<html xmlns="http://www.w3.org/1999/xhtml" lang="pl">

<head>

 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />

<meta http-equiv="Content-Language" content="pl" />

</head>

<body>

Śiemaż źłó szko ś ćielisz

</body>

</html>

 

thanks

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.