![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 154 Pomógł: 0 Dołączył: 29.08.2012 Ostrzeżenie: (0%) ![]() ![]() |
Witam
Edytuje szablon strony www na swoje potrzeby. Szablon ma całą treśc w języku angielski. Przy próbie podmiany na język polski wystąpiły takie anomalia: (IMG:http://wysmiejgo.pl/test/test.jpg) Nie czyta polskich znaków typu ż, ć, ź, ó itd. Jak to zmienić, tak aby polskie znaki były czytane... Ten post edytował VeParadox 19.10.2013, 08:05:01 |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 108 Pomógł: 5 Dołączył: 8.12.2011 Skąd: Łomża Ostrzeżenie: (0%) ![]() ![]() |
Jeśli używasz Notepad ++ wystarczy zmienić krzaczki na polskie znaki, a następnie "Format" -> "Koduj w UTF-8 (bez BOM)"
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 154 Pomógł: 0 Dołączył: 29.08.2012 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 108 Pomógł: 5 Dołączył: 8.12.2011 Skąd: Łomża Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 154 Pomógł: 0 Dołączył: 29.08.2012 Ostrzeżenie: (0%) ![]() ![]() |
Ja daję :
zmień we wszystkich otwartych plikach, to na tamto i hej (IMG:style_emoticons/default/smile.gif) Czyli tylko tyle trzeba zrobic? (IMG:style_emoticons/default/smile.gif) |
|
|
![]()
Post
#6
|
|
Grupa: Zarejestrowani Postów: 108 Pomógł: 5 Dołączył: 8.12.2011 Skąd: Łomża Ostrzeżenie: (0%) ![]() ![]() |
Ja daję : zmień we wszystkich otwartych plikach, to na tamto i hej (IMG:style_emoticons/default/smile.gif) Czyli tylko tyle trzeba zrobic? (IMG:style_emoticons/default/smile.gif) Działa ? To widocznie tak. + |
|
|
![]()
Post
#7
|
|
Grupa: Zarejestrowani Postów: 154 Pomógł: 0 Dołączył: 29.08.2012 Ostrzeżenie: (0%) ![]() ![]() |
Niestety nie działa, myślałem ze to wina przegladarki, ale ją wyczyściłem, na innym kompie też to widac.. �.... w czym problem, przeciez było info że ileś tam tego sie zmieniło w N++..... (IMG:style_emoticons/default/axesmiley.png)
|
|
|
![]()
Post
#8
|
|
Grupa: Zarejestrowani Postów: 4 291 Pomógł: 829 Dołączył: 14.02.2009 Skąd: łódź Ostrzeżenie: (0%) ![]() ![]() |
W dokumencie:
W Notepadzie++ jak wspomnieli format UTF8 bez BOM i MUSI działać Ten post edytował Turson 19.10.2013, 10:48:21 |
|
|
![]()
Post
#9
|
|
Grupa: Zarejestrowani Postów: 262 Pomógł: 26 Dołączył: 23.01.2009 Skąd: eZ Systems Ostrzeżenie: (0%) ![]() ![]() |
Pytanie, czy tekst do szablonu jest wstawiany automatycznie z serwera czy bezpośrednio z szablonu?
|
|
|
![]()
Post
#10
|
|
Grupa: Nieautoryzowani Postów: 2 249 Pomógł: 305 Dołączył: 2.10.2006 Ostrzeżenie: (0%) ![]() ![]() |
Kodowanie pliku + charset w sekcji meta rozwiążą ten problem (chyba, że masz po drodze bazę, ale obecnie to też nie powinien być żaden problem).
|
|
|
![]()
Post
#11
|
|
Grupa: Zarejestrowani Postów: 154 Pomógł: 0 Dołączył: 29.08.2012 Ostrzeżenie: (0%) ![]() ![]() |
W dokumencie: W Notepadzie++ jak wspomnieli format UTF8 bez BOM i MUSI działać W dokumencie podmieniłem, ale co do tego formatu UTF8 bez BOM to pojęcia nie mam o co chodzi, dało by rade jakiegoś screena ? Pytanie, czy tekst do szablonu jest wstawiany automatycznie z serwera czy bezpośrednio z szablonu? Wiesz co, nie wiem co ci odpowiedzieć, nie znam się za bardzo, pobrałem pliki i wrzuciłem na serwer.... :/ mój szablon to: http://www.bpcomp.pl/bpcomp_sources/szablo...ml/1/index.html Kodowanie pliku + charset w sekcji meta rozwiążą ten problem (chyba, że masz po drodze bazę, ale obecnie to też nie powinien być żaden problem). Panowie bardzo proszę pamiętajcie że napisałem w przedszkolu, prosiłbym o jakieś łopatologiczne tłumaczenia ewentualnie posiłkowo o scrreny. Zależy mi na rozwiązaniu tego problemu i będe bardzo wdzięczny za pomoc. |
|
|
![]()
Post
#12
|
|
Grupa: Zarejestrowani Postów: 108 Pomógł: 5 Dołączył: 8.12.2011 Skąd: Łomża Ostrzeżenie: (0%) ![]() ![]() |
W dokumencie podmieniłem, ale co do tego formatu UTF8 bez BOM to pojęcia nie mam o co chodzi, dało by rade jakiegoś screena ? Wiesz co, nie wiem co ci odpowiedzieć, nie znam się za bardzo, pobrałem pliki i wrzuciłem na serwer.... :/ mój szablon to: http://www.bpcomp.pl/bpcomp_sources/szablo...ml/1/index.html Panowie bardzo proszę pamiętajcie że napisałem w przedszkolu, prosiłbym o jakieś łopatologiczne tłumaczenia ewentualnie posiłkowo o scrreny. Zależy mi na rozwiązaniu tego problemu i będe bardzo wdzięczny za pomoc. Człowieku czego tu nie rozumiesz... Odpalasz program o nazwie "Notepad ++" a w nim swój plik następnie z górnego menu wybierasz Encoding / Format i z tego menu wybierasz Encode in UTF-8 without BOM / Koduj w UTF-8 (bez BOM) następnie zapisujesz dokument i wszystko powinno działać. //Edit: Nie wiem, gdzie ty to odpalasz i co z tym robisz, ale u mnie wszystko działa, bo tam wszystko jest dobrze... coś musiałeś nabroić. (IMG:http://img801.imageshack.us/img801/7382/gq83.png) Ten post edytował patrysiek2 20.10.2013, 07:43:48 |
|
|
![]()
Post
#13
|
|
Grupa: Zarejestrowani Postów: 154 Pomógł: 0 Dołączył: 29.08.2012 Ostrzeżenie: (0%) ![]() ![]() |
Człowieku czego tu nie rozumiesz... Odpalasz program o nazwie "Notepad ++" a w nim swój plik następnie z górnego menu wybierasz Encoding / Format i z tego menu wybierasz Encode in UTF-8 without BOM / Koduj w UTF-8 (bez BOM) następnie zapisujesz dokument i wszystko powinno działać. No właśnie tego nie rozumiałem (IMG:style_emoticons/default/smile.gif) //Edit: Nie wiem, gdzie ty to odpalasz i co z tym robisz, ale u mnie wszystko działa, bo tam wszystko jest dobrze... coś musiałeś nabroić. (IMG:http://img801.imageshack.us/img801/7382/gq83.png) Poprostu wrzuciłem na serwer, jest różnica na jaki? Jak to jeszcze inaczej można odpalic- bo nie trybie o co ci chodzi... :/ Podmieniłem menu tak jak ty to zrobiłeś, ale u mnie jest tak:(IMG:http://wysmiejgo.pl/test/test.jpg) Edit............. Robie jak piszecie i nic nie działa..:/ Możliwe że tłumaczy ci odrazu przeglądarka i dlatego nie masz � |
|
|
![]()
Post
#14
|
|
Grupa: Zarejestrowani Postów: 108 Pomógł: 5 Dołączył: 8.12.2011 Skąd: Łomża Ostrzeżenie: (0%) ![]() ![]() |
Wrzuć tutaj ten swój plik. Przeglądarka raczej nie powinna przeszkadzać.
|
|
|
![]()
Post
#15
|
|
Grupa: Zarejestrowani Postów: 154 Pomógł: 0 Dołączył: 29.08.2012 Ostrzeżenie: (0%) ![]() ![]() |
Kod <!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> <title>Foliage - Free Alpha Studio Web Template</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="content-language" content="" /> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="page"> <div id="menu"> <ul> <li class="active"><a href="#"><span>Home</span></a></li> <li><a href="#"><span>Products</span></a></li> <li><a href="#"><span>ważne</span></a></li> <li><a href="#"><span>Help</span></a></li> <li><a href="#"><span>Contact</span></a></li> </ul> </div> <div id="logobg"> <a href="#"><img id="logo" src="images/logo.gif" alt="" /></a> <h1><a href="#">Foliage</a></h1> </div> <div id="bar"> <form id="search" method="get" action="#"> <input type="text" class="text" value="" /> <input type="submit" class="submit" value="" /> </form> <p id="subtitle">Template designed by Alpha Studio</p> </div><!-- bar --> <div id="sidebar"><div id="sidebar2"><div id="sidebar3"> <h2>Quisque luctus</h2> <ul> <li><a href="#">Fusce laoreet, ligula et rhoncus</a></li> <li><a href="#">Adipiscing gravida pulvinar eget</a></li> <li><a href="#">Cras consectetur commodo</a></li> <li><a href="#">Vulputate aliquam ipsum dictum</a></li> </ul> <h2>Integer rhoncus</h2> <div class="box"> <p>Mauris sollicitudin tincidunt magna vitae semper. Curabitur ut pharetra quam. Integer rhoncus convallis urna vitae mattis.</p> </div> <h2>Mauris sagittis</h2> <ul> <li><a href="#">Suspendisse faucibus purus</a></li> <li><a href="#">Tincidunt nec accumsan</a></li> <li><a href="#">Fusce laoreet, ligula et rhoncus</a></li> <li><a href="#">Adipiscing gravida pulvinar eget</a></li> </ul> </div></div></div><!-- sidebar --><!-- sidebar2 --><!-- sidebar3 --> <div id="content"> <div class="post"> <h2><a href="#">Terms of Use</a></h2> <p class="postmeta">Posted in <a href="#">Class apent</a> | June 17, 2011 | <a href="#">4 comments</a></p> <div class="entry"> <p>The template is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution</a> license. This means it can be used for both private and commercial purposes, edited freely or redistributed as long as you keep the link back to Alpha Studio.The link, however, can be moved to any other place of the site. Do not use the template in connection with sex, violence, discrimination and for other immoral or illegal purposes.</p> <p>The images come from <a target="_blank" href="http://www.publicdomainpictures.net/">PublicDomainPictures.net</a> and <a href="http://www.openclipart.org/">Open Clipart Library</a> (logo icon). They are all in public domain.</p> <p class="readmore"><a href="#">read more</a></p> </div> </div><!-- post --> <div class="post"> <h2><a href="#">Lorem ipsum dolor sit amet</a></h2> <p class="postmeta">Posted in <a href="#">Lorem ipsum</a> | June 15, 2011 | <a href="#">2 comments</a></p> <div class="entry"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean nec dui quis urna sollicitudin sodales. Fusce laoreet, ligula et rhoncus volutpat, felis magna varius tortor, ac molestie diam lorem in lectus. Aliquam venenatis mollis est, a porttitor ipsum interdum nec. Vestibulum sed risus ac nulla viverra pharetra.</p> <p>Quisque congue lacus sed odio fermentum tincidunt. Proin vitae nulla velit. Cras consectetur commodo scelerisque. Curabitur leo nisl, blandit at tempus et, interdum at risus. Sed dui augue, pellentesque ac pulvinar id, malesuada eget diam. Integer elementum sem eget tortor faucibus id pellentesque lorem dignissim.</p> <p class="readmore"><a href="#">read more</a></p> </div> </div><!-- post --> </div><!-- content --> <div id="footer"> <p>Copyright © 2011, designed by <a href="http://www.alphastudio.pl/" target="_blank">Alpha Studio</a></p> </div> </div><!-- page --> </body> </html> |
|
|
![]()
Post
#16
|
|
Grupa: Zarejestrowani Postów: 108 Pomógł: 5 Dołączył: 8.12.2011 Skąd: Łomża Ostrzeżenie: (0%) ![]() ![]() |
Kod <!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> <title>Foliage - Free Alpha Studio Web Template</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="content-language" content="" /> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="page"> <div id="menu"> <ul> <li class="active"><a href="#"><span>Home</span></a></li> <li><a href="#"><span>Products</span></a></li> <li><a href="#"><span>ważne</span></a></li> <li><a href="#"><span>Help</span></a></li> <li><a href="#"><span>Contact</span></a></li> </ul> </div> <div id="logobg"> <a href="#"><img id="logo" src="images/logo.gif" alt="" /></a> <h1><a href="#">Foliage</a></h1> </div> <div id="bar"> <form id="search" method="get" action="#"> <input type="text" class="text" value="" /> <input type="submit" class="submit" value="" /> </form> <p id="subtitle">Template designed by Alpha Studio</p> </div><!-- bar --> <div id="sidebar"><div id="sidebar2"><div id="sidebar3"> <h2>Quisque luctus</h2> <ul> <li><a href="#">Fusce laoreet, ligula et rhoncus</a></li> <li><a href="#">Adipiscing gravida pulvinar eget</a></li> <li><a href="#">Cras consectetur commodo</a></li> <li><a href="#">Vulputate aliquam ipsum dictum</a></li> </ul> <h2>Integer rhoncus</h2> <div class="box"> <p>Mauris sollicitudin tincidunt magna vitae semper. Curabitur ut pharetra quam. Integer rhoncus convallis urna vitae mattis.</p> </div> <h2>Mauris sagittis</h2> <ul> <li><a href="#">Suspendisse faucibus purus</a></li> <li><a href="#">Tincidunt nec accumsan</a></li> <li><a href="#">Fusce laoreet, ligula et rhoncus</a></li> <li><a href="#">Adipiscing gravida pulvinar eget</a></li> </ul> </div></div></div><!-- sidebar --><!-- sidebar2 --><!-- sidebar3 --> <div id="content"> <div class="post"> <h2><a href="#">Terms of Use</a></h2> <p class="postmeta">Posted in <a href="#">Class apent</a> | June 17, 2011 | <a href="#">4 comments</a></p> <div class="entry"> <p>The template is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution</a> license. This means it can be used for both private and commercial purposes, edited freely or redistributed as long as you keep the link back to Alpha Studio.The link, however, can be moved to any other place of the site. Do not use the template in connection with sex, violence, discrimination and for other immoral or illegal purposes.</p> <p>The images come from <a target="_blank" href="http://www.publicdomainpictures.net/">PublicDomainPictures.net</a> and <a href="http://www.openclipart.org/">Open Clipart Library</a> (logo icon). They are all in public domain.</p> <p class="readmore"><a href="#">read more</a></p> </div> </div><!-- post --> <div class="post"> <h2><a href="#">Lorem ipsum dolor sit amet</a></h2> <p class="postmeta">Posted in <a href="#">Lorem ipsum</a> | June 15, 2011 | <a href="#">2 comments</a></p> <div class="entry"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean nec dui quis urna sollicitudin sodales. Fusce laoreet, ligula et rhoncus volutpat, felis magna varius tortor, ac molestie diam lorem in lectus. Aliquam venenatis mollis est, a porttitor ipsum interdum nec. Vestibulum sed risus ac nulla viverra pharetra.</p> <p>Quisque congue lacus sed odio fermentum tincidunt. Proin vitae nulla velit. Cras consectetur commodo scelerisque. Curabitur leo nisl, blandit at tempus et, interdum at risus. Sed dui augue, pellentesque ac pulvinar id, malesuada eget diam. Integer elementum sem eget tortor faucibus id pellentesque lorem dignissim.</p> <p class="readmore"><a href="#">read more</a></p> </div> </div><!-- post --> </div><!-- content --> <div id="footer"> <p>Copyright © 2011, designed by <a href="http://www.alphastudio.pl/" target="_blank">Alpha Studio</a></p> </div> </div><!-- page --> </body> </html> Proszę bardzo kod:
Jak nie zadziała to pisz, podeślę plik. |
|
|
![]()
Post
#17
|
|
Grupa: Zarejestrowani Postów: 154 Pomógł: 0 Dołączył: 29.08.2012 Ostrzeżenie: (0%) ![]() ![]() |
patrysiek2 no nie działa... (IMG:style_emoticons/default/sad.gif) Czyściłem cache przeglądarki i nic.... (IMG:style_emoticons/default/sad.gif)
|
|
|
![]()
Post
#18
|
|
Grupa: Zarejestrowani Postów: 108 Pomógł: 5 Dołączył: 8.12.2011 Skąd: Łomża Ostrzeżenie: (0%) ![]() ![]() |
patrysiek2 no nie działa... (IMG:style_emoticons/default/sad.gif) Czyściłem cache przeglądarki i nic.... (IMG:style_emoticons/default/sad.gif) Tutaj pliczek: http://www.sendspace.pl/file/aa4b207e4d945216266a5e2 |
|
|
![]()
Post
#19
|
|
Grupa: Zarejestrowani Postów: 154 Pomógł: 0 Dołączył: 29.08.2012 Ostrzeżenie: (0%) ![]() ![]() |
Nie wiem jak to zrobiłeś, ale działa (IMG:style_emoticons/default/thumbsupsmileyanim.gif)
Wielkie dzięki dla patrysiek2 (IMG:style_emoticons/default/biggrin.gif) Jak jak coś, to jestem ci krewny przysługę, wal jak w dym (IMG:style_emoticons/default/wink.gif) No prze szczęśliwy jestem, najlepsze forum z najlepszymi userkami na świecie!!! Jeszcze raz wielkie dzięki OUS!! (IMG:style_emoticons/default/biggrin.gif) |
|
|
![]()
Post
#20
|
|
Grupa: Zarejestrowani Postów: 108 Pomógł: 5 Dołączył: 8.12.2011 Skąd: Łomża Ostrzeżenie: (0%) ![]() ![]() |
Nie wiem jak to zrobiłeś, ale działa (IMG:style_emoticons/default/thumbsupsmileyanim.gif) Wielkie dzięki dla patrysiek2 (IMG:style_emoticons/default/biggrin.gif) Jak jak coś, to jestem ci krewny przysługę, wal jak w dym (IMG:style_emoticons/default/wink.gif) No prze szczęśliwy jestem, najlepsze forum z najlepszymi userkami na świecie!!! Jeszcze raz wielkie dzięki OUS!! (IMG:style_emoticons/default/biggrin.gif) //OT: To jest sprawa, ucz się biegiem PHP i czytaj moje tematy bo po powrocie do kodzenia nie wiem jak rozwiązać kilka prostych działań. (Nie będę zły jak klikniesz "pomógł") |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.09.2025 - 12:27 |