Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

character encoding

Featured Replies

Wondered why the character encoding isn't being picked up right. I have doc types declared UTF-8 but they show up as ISO-8859-1. They're right online and on another WAMP server I run. I've tried several changes to various .ini (php, apache) files, but can't get it to work.

did you SAVE the text/html file as UTF-8 ?

 

declerations dont work if the chars to show are "ISO" chars, for example pasting from another document, some editors might not "migrate" the chars (they try to map the chars into UTF-8 with custom functions - wont always work. same for editors not supporting UTF-8/UTF-16)

  • 2 weeks later...

for parsing through php, this code line helps

 

header("Content-Type: text/html; charset=UTF-8");

 

or any charset. usually: this forces the "delivery" of the text by to a specific charset

 

headers have to be set before anything else. (the first line in your script right after <?php. make sure you have no whitespaces before that !

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.