Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: tinymce oraz polskie znaki
Forum PHP.pl > Forum > PHP
pain3hp
Witam mam 3 problemy sad.gif
1. Na stronie nie wyświetlają się PL znaki to znaczy nie ma tzw krzaków tylko analogicznie zamiast ĄŁÓĘĆ wstawia się ALOEC, nie wiem w czym problem, zresztą kodowanie jest ustawione:
Kod
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

2. W tiny_mce, nie działa mi kursywa i pozostałe inne formaty tekstu, działa tylko pogrubienie.
3. Jak dodać do tiny_mce ikonke odpowiadającą za wstawianie zdjęć, nie musi być upload tylko samo generowanie kodu html pod wstawienie...

wszystko chodzi o tą strone

http://netszablony.pl/padmin/
admin
123cms

przepraszam, zapomniałem dodać że tinymce nawet nie robi "enterów" tylko pisze jednym ciągiem, hmmm
Van Pytel
A w jakim programie pisales? W nim też musisz mieć ustawione dobre kodowanie.
pain3hp
ta ciekawe po co
dreamweaver
Van Pytel
W ustawieniach daj sobie na ISO-8859-2 i po problemie. To co podales to jest informacja dla przegladarki.
pain3hp
to kodowanie nic nie zmienia, poza tym obecne jest dobre bo gdy wyrzucę php to jest OK

Witam, validator mi powiedział coś w tym temacie!
Cytat
#

No Character Encoding Found! Falling back to windows-1252.

None of the standards sources gave any information on the character encoding labeling for this document. Without encoding information it is impossible to reliably validate the document. As a fallback solution, the "windows-1252" encoding was used to read the content and attempt to perform the validation, but this is likely to fail for all non-trivial documents.

Before defaulting to windows-1252 the validator also tried to read the content with the following encoding(s), without success: UTF-8.

The sources used to find encoding information include:

* The HTTP Content-Type header.
* The XML Declaration.
* The HTML "META" element.

The algorithm defined in Appendix F of the XML 1.0 Recommendation was also used, without success.

Since none of these sources yielded any usable information, reliable validation of this document is not possible. Sorry. Please make sure you specify the character encoding in use.

Specifying a character encoding is typically done by the web server configuration, by the scripts that put together pages, or inside the document itself. IANA maintains the list of official names for character encodings (called charsets in this context). You can choose from a number of encodings, though we recommend UTF-8 as particularly useful.

The W3C I18N Activity has collected a few tips on how to declare the encoding of a Web document.

To quickly check whether the document would validate after addressing the missing character encoding information, you can use the "Encoding" form control earlier in the page to force an encoding override to take effect. "iso-8859-1" (Western Europe and North America) and "utf-8" (Universal, but not commonly used in legacy documents) are common encodings if you are not sure what encoding to choose.
#

Info No Character encoding declared at document level

No character encoding information was found within the document, either in an HTML meta element or an XML declaration. It is often recommended to declare the character encoding in the document itself, especially if there is a chance that the document will be read from or saved to disk, CD, etc.

See this tutorial on character encoding for techniques and explanations.

czy ktoś to rozumie?
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.