Article View: pl.comp.lang.javascript
Article #50204okienko alert problem z polskimi znakami - pomocy
From: Slawek
Date: Sat, 14 Aug 2010 18:30
Date: Sat, 14 Aug 2010 18:30
39 lines
2825 bytes
2825 bytes
Witam
Mam problem z polskimi znakami generując w js okienko alert. Po prostu
pokazują się krzaki. Kodowanie mam ustawione na utf-8, pliki zapisane też w
utf-8 a mimo to dostaje krzaki
<script type="text/javascript">
alert(' test polskich znaków śćźąłó');
location.replace("<?php echo $back; ?>");
</script>
oczywiście tam gdzie są wpisane polskie znaki dostaję jakieś dziwne znaczki
kodowanie na stronie mam takie
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="robots" content="all" /><title>tytul</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<!--[if lte IE 7]><style type="text/css">html .jquerycssmenu{height: 1%;}
</style><![endif]--><script language="javascript" type="text/javascript"
src="js/jquery-1.3.1.js"></script>
<link type="text/css" rel="stylesheet" href="css/jquery.rte.css" /><script
src="js/jquery.rte.js" type="text/javascript"></script>
<script src="js/jquery.rte.tb.js" type="text/javascript"></script>
<script src="js/jquery.ocupload-1.1.4.js" type="text/javascript"></script>
<script src="js/edytor.js" type="text/javascript"></script><script
src="js/toplip.js" type="text/javascript"></script>
<meta name="keywords" content="" />
<meta name="description" content="" />
</head>
Naprawdę nie wiem w czym moze być problem.
Gdyby ktoś miał jakiś pomysł to będę wdzięczny.
z góry dziękuję i pozdrawiam
Sławek
Technical Details
Message-ID:
<4c66e0b0$0$22793$65785112@news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!feeder.news-service.com!feed.xsnews.nl!border-1.ams.xsnews.nl!newsfeed.kamp.net!newsfeed.kamp.net!nx01.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!feeder.news-service.com!feed.xsnews.nl!border-1.ams.xsnews.nl!newsfeed.kamp.net!newsfeed.kamp.net!nx01.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail From: "Slawek" <grypy[at]wp.pl> Newsgroups: pl.comp.lang.javascript Subject: okienko alert problem z polskimi znakami - pomocy Date: Sat, 14 Aug 2010 20:30:07 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18197 X-Antivirus: avast! (VPS 100814-0, 2010-08-14), Outbound message X-Antivirus-Status: Clean Lines: 41 Message-ID: <4c66e0b0$0$22793$65785112@news.neostrada.pl> Organization: Telekomunikacja Polska NNTP-Posting-Host: 79.186.215.67 X-Trace: 1281810608 unt-rea-b-01.news.neostrada.pl 22793 79.186.215.67:52617 X-Complaints-To: abuse@news.neostrada.pl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit