Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> tinymce oraz polskie znaki, problem z edycją tekstu,
pain3hp
post
Post #1





Grupa: Zarejestrowani
Postów: 87
Pomógł: 2
Dołączył: 23.01.2010

Ostrzeżenie: (0%)
-----


Witam mam 3 problemy (IMG:style_emoticons/default/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
Go to the top of the page
+Quote Post
Van Pytel
post
Post #2





Grupa: Zarejestrowani
Postów: 150
Pomógł: 6
Dołączył: 3.03.2010

Ostrzeżenie: (0%)
-----


A w jakim programie pisales? W nim też musisz mieć ustawione dobre kodowanie.
Go to the top of the page
+Quote Post
pain3hp
post
Post #3





Grupa: Zarejestrowani
Postów: 87
Pomógł: 2
Dołączył: 23.01.2010

Ostrzeżenie: (0%)
-----


ta ciekawe po co
dreamweaver
Go to the top of the page
+Quote Post
Van Pytel
post
Post #4





Grupa: Zarejestrowani
Postów: 150
Pomógł: 6
Dołączył: 3.03.2010

Ostrzeżenie: (0%)
-----


W ustawieniach daj sobie na ISO-8859-2 i po problemie. To co podales to jest informacja dla przegladarki.

Ten post edytował Van Pytel 20.06.2010, 20:21:52
Go to the top of the page
+Quote Post
pain3hp
post
Post #5





Grupa: Zarejestrowani
Postów: 87
Pomógł: 2
Dołączył: 23.01.2010

Ostrzeżenie: (0%)
-----


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?
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 10:13