logo elektroda
logo elektroda
X
logo elektroda

No Polish Characters in UTF-8 Encoding on Subpages: Solutions for http://hejwesele.com.pl

adioband 41494 11
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 7841150
    adioband
    Level 10  
    Hello!

    And what to do if I have all the subpages in the utf-8 code and still do not have Polish characters. I also have this code set on the server. So what's wrong? Website http://hejwesele.com.pl
  • ADVERTISEMENT
  • #2 7841369
    korrus666
    Level 40  
    Apparently the characters are not in utf-8 encoding or something is happening to them along the way. I don't know what technology the website is made of and you don't write anything about it. Do you have any database? Not enough details to advise anything.
  • Helpful post
    #3 7841588
    n-d-render
    Level 16  
    Make a test subpage with a text like "a sponge is bathed in a jelly and you are not stuck with a float" and see in the following encodings how you get out in 2 different browsers :D I had a similar problem, the data from a UTF-8 encoded file was read by a UTF-8 encoded php file. I changed the encoding of the loaded file using Notepad (I wrote normally in notepad and gave Save As) to ANSI and it was OK (or vice versa, in the PHP file to ASI).
    The test file is the best fun to play with, normal files get messed up when you play coding, and it's hard to see what the matter is.
    Regards!

    Edit: Similar problem and solution:
    "www.albatrosy.tk
    I manually set UTF8-universal in each base table
    I will not say that it was a nice few hundred clicks, but I did not find an easier way "
  • ADVERTISEMENT
  • #4 7842005
    adioband
    Level 10  
    He's been through this already :) Note that I wrote the word from the languge.php file in dreamweawer and there are Polish characters. The encoding is for utf-8. The words that I enter in the administration panel do not have Polish characters. I would turn them into dreamweawer but I don't even know how because when I run the file from the admin panel. these words are not there. I don't even know where they are saved.
  • #5 7842432
    n-d-render
    Level 16  
    http://hejwesele.com.pl/about.php

    Edit this text from the administration panel and copy it, then paste it here on the forum - I want to see why there is a problem with the word "which".

    Regards!
  • ADVERTISEMENT
  • #6 7842484
    adioband
    Level 10  
    this is what the code looks like:

    
    
    
    
    LBS Script - About this directory - Katalog strona weselnych
    
    
    
    
    
    
    
    
     
    
    
    
    Aktywne linki: 4 | Aktywne kategorie: 25
    
    Home
    Nowe strony
    
     
    	Najlepsze strony
    
    Dodaj stronę
    Kontakt
    
     
    	Regulamin
    
     
    	O nas
    Tagi
    
    
    
      
        Top oferta 
    
        
        UK Web Directory
       
        
          
          
            
              
    
              
            
          
        
      
    
    
    
    #ABCDEFGHIJKLMNOPQRSTUVWXYZ
    
    
    
      
      
    
    
      
      
        
    
       
    			Bid Directories
    			Blogs
    
    			Business
    			Computers
    			Directory Resources
    			Education
    			Entertainment
    			Forums
    
    			Free Directories
    			Games
    			History
    			Holidays
    			Home and Garden
    			Internet
    
    			Outdoors
    			Paid Directories
    			Shopping
    			Sports
    			UK
    			USA
    
    			Web Design
    			Web Development
    			Web Hosting
    			Webmaster Resources
    			zespoly
    	
    		Sugeruj Kategorię
    
    
    
    
    
    
    O nas
    Jest to klasyczny katalog stron, w kt�rym dodawać można tylko strony poświęcone tematyce weselnej. Strony dodawać mogą: zespoły muzyczne, kamerzyści, sale wesele, fotografowie itp.
    
    Wszystkie strony sprawdzane są dokładnie przez moderatora i dopiero dodawane do katalogu, tak aby znajdowały się ty tylko najlepsi.
    
    
    
    
                   
    
    
    
    
    
    Home | 
    Nowe strony | 
    
     
    	Najlepsze strony | 
    
    Dodaj stronę | 
    
     
    	O nas | 
    
     
    	Regulamin | 
    
    
    Kontakt
    
      © 2010  Katalog strona weselnych     Powered by Directory software by LBS
      
    
    
    


    Please remember to use tags code . - arnoldziq
  • #7 7843117
    n-d-render
    Level 16  
    Wow :) You can edit, shorten the code above, it's too long :)

    I thought about:
    
    
    O nas
    Jest to klasyczny katalog stron, w kt& #65533;rym dodawać można tylko strony poświęcone tematyce weselnej. Strony dodawać mogą: zespoły muzyczne, kamerzyści, sale wesele, fotografowie itp.
    
    Wszystkie strony sprawdzane są dokładnie przez moderatora i dopiero dodawane do katalogu, tak aby znajdowały się ty tylko najlepsi.
    
     
    


    From the level of Total Commander it looks like this:
    
    
    O nas
    Jest to klasyczny katalog stron, w którym dodawać mo & #380;na tylko strony po& #347;wi& #281;cone tematyce weselnej. Strony dodawa& #263; mog& #261;: zespo& #322;y muzyczne, kamerzy& #347;ci, sale wesele, fotografowie itp.
    
    Wszystkie strony sprawdzane s& #261; dok& #322;adnie przez moderatora i dopiero dodawane do katalogu, tak aby znajdowa& #322;y si& #281; ty tylko najlepsi.
    
    
    
    


    The source of the page in the Opera browser:
    
    
    O nas
    Jest to klasyczny katalog stron, w którym dodawać mo& #380;na tylko strony po& #347;wi& #281;cone tematyce weselnej. Strony dodawa& #263; mog& #261;: zespo& #322;y muzyczne, kamerzy& #347;ci, sale wesele, fotografowie itp.
    
    Wszystkie strony sprawdzane s& #261; dok& #322;adnie przez moderatora i dopiero dodawane do katalogu, tak aby znajdowa& #322;y si& #281; ty tylko najlepsi.
    
    


    And here I will ask someone else to comment :)

    My advice is: try to enter the text in the administration panel with the codes from Link
    (for example the word Łódź, i.e. & # 321 & # 243 d & # 378 - no spaces after & ;)
    and see if it gives you nice text in your browser. Or the slogan "Łódź is & # 321 & # 243 d & # 378" just for the sake of understanding ;)

    Regards!
  • #8 7844985
    adioband
    Level 10  
    correct nd-render. Jezn-d-renderli I do as you wrote the letters work. What is the conclusion of this?
  • ADVERTISEMENT
  • #9 7845880
    n-d-render
    Level 16  
    n-d-render wrote:

    The test file is the best fun to play with, normal files get messed up when you play coding, and it's hard to see what the matter is.


    If you are typing in garbage, no ANSI or UTF encoding will help, it only creates additional confusion.
    If the method with Polish character codes works (i.e. & something), you have to upload previously crafted text through the administration panel so that it contains & something.
    A website builder is the best. Ultimately, you can write the text in Notepad and then use the Replace function to turn "ą" into "& # 261" one by one, but it's really a lot of pointless fun. Dreamweaver will do it faster. Use it to write text, save the file on the desktop, and then open it with Notepad, copy the finished text with tags & something and paste it on the page via the administration panel.

    That's it.

    You can possibly change yet in the code

    on


    I chew!
    nd-render
  • #10 7846149
    adioband
    Level 10  
    What about those who add the website to the directory? Polish characters are also missing there
  • #11 8337181
    pktomczak
    Level 10  
    Probably incorrect base coding set.

    In phpmyadmin, select the correct database, go to the SQL tab and enter the following command:
    ALTER DATABASE `database_name` DEFAULT CHARACTER SET utf8 COLLATE utf8_polish_ci
    (replace database_name with the name of the correct data name)
  • #12 8346631
    agappe
    Level 16  
    You can also set the encoding of the downloaded data when setting up the database connection, enter it, for example, after mysql_select_db

    mysql_query ('SET CHARSET utf8');

Topic summary

The discussion revolves around the issue of Polish characters not displaying correctly on subpages of the website http://hejwesele.com.pl, despite being set to UTF-8 encoding. Users suggest that the problem may stem from incorrect encoding settings either in the database or during file handling. Solutions proposed include testing subpages with different encodings, ensuring that the database is set to UTF-8 with Polish collation, and using text editors like Notepad or Dreamweaver to manage character encoding. Additionally, it is recommended to manually replace Polish characters with their HTML entity equivalents if necessary. The importance of consistent encoding across all files and database settings is emphasized to resolve the character display issue.
Summary generated by the language model.
ADVERTISEMENT