Jump to content

Recommended Posts

Posted

I have a PHP script on my clients site that lists the files in a directory in a HTML Select Form. Sometimes the file names need to have UTF8 characters in them. The filename can be read normally using readdir() (I need to utf8_encode() the name to have it appear as it should in the web page). However, I get a "The requested URL myurl.html was not found on this server" message when trying to load the file, which is the submit action of choosing an item from the HTML Select Form. The error arises regardless whether the file name has utf8_decode() applied to or is in the UTF8 encoding. The Form has accept-charset='utf-8' in the tag.

 

If anyone has experience using PHP with utf8 encoding, help is greatefully accepted.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...