Jump to content

Need help with Unicode in PHP


Captain_Goggles

Recommended Posts

Hi, I'm try to use the php header Location to redirect to an Internationalized Domain Name (a domain name with Unicode). For example here is what I've been trying to use:
[code]<?php header("Location: http://www.ø.org"); ?>[/code]
However, this will just redirect to http://www.%f8.org. When I tried to use HTML ASCII (&#248 for ø), that didn't work either.

Does anyone have any suggestions as to how to use Unicode in PHP?
Link to comment
https://forums.phpfreaks.com/topic/35019-need-help-with-unicode-in-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.