Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Unicode characters not displayed properly while pressing submit button in the website http://nepalicalendar.rat32.com/index_nep.php . It works fine with other.

  • 7 trả lời
  • 3 gặp vấn đề này
  • 4 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

I have a page http://nepalicalendar.rat32.com/index_nep.php. It displays the nepali unicode page correctly. But after i click the submit button named "View Calendar" Firefox displays unreadable unicode characters. However, other browser does not shows the same problem.

Is there any code i need to add so that Firefox will display unicode character after post method?

Help will be really appreciated if someone could figure out whats wrong going on!! Thanks in advance.

[Note: I have added utf-8 code for displaying the nepali unicode character]

I have a page http://nepalicalendar.rat32.com/index_nep.php. It displays the nepali unicode page correctly. But after i click the submit button named "View Calendar" Firefox displays unreadable unicode characters. However, other browser does not shows the same problem. Is there any code i need to add so that Firefox will display unicode character after post method? Help will be really appreciated if someone could figure out whats wrong going on!! Thanks in advance. [Note: I have added utf-8 code for displaying the nepali unicode character]

Giải pháp được chọn

Hi all,

I found the solution myself. The mistake i was doing was i had placed the tag:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

after favicon, title tags and meta description and title tags. After i placed tag:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

right after the head tag it worked fine. :)

Cheers.. :)

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (7)

more options

Check this out;

more options

That resulting page is send by the server as windows-1252 encoding. If the server sends an encoding then Firefox uses that encoding and ignore the encoding as specified in a meta tag in the file.

more options

Thanks for the reply. But i am looking the way to solve this problem. It seems that unicode that is fetched from database are being displayed properly however unicode characters in the php file are not displaying properly when using post method.

I am surprised why FIREFOX only has this problem!!!! ???

Được chỉnh sửa bởi Nepali Calendar vào

more options

Thanks for the reply. But i am looking the way to solve this problem. It seems that unicode that is fetched from database are being displayed properly however unicode characters in the php file are not displaying properly when using post method.

I am surprised why FIREFOX only has this problem!!!! ???

Được chỉnh sửa bởi Nepali Calendar vào

more options

Unicode is only for the European section language, when you switch in the charset=utf 8 coding, the purpose is clearly visible :) for the hendi language.

more options

Giải pháp được chọn

Hi all,

I found the solution myself. The mistake i was doing was i had placed the tag:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

after favicon, title tags and meta description and title tags. After i placed tag:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

right after the head tag it worked fine. :)

Cheers.. :)

more options

charset:

This <meta> element must be inside the <head> element and within the 512 first bytes of the page, as some browsers only look at these first bytes before choosing a character set for the page.