• Resolved Etsuko

    (@rgblog)


    Hi all,

    My question might be what someone already asked somewhere…So, forgive me if I did not research enough.

    I am creating a custom-designed theme for my blog. I would like to create a php file called reservation_form.php containing a form in HTML form tag. This form contains some Japanese character. This php file is supposed to be retrieved by <?php include (TEMPLATEPATH . '/reservation_form.php'); ?> in page.php file. I coded it with conditional statement to make a particular page display a form.

    Here’s my question: Is there any way to display correctly this Japanese character as the page is displayed in browser? I think my question is related with php code, which I am not really familiar with.

    Character set of my blog is UTF-8 but I didn’t define define ('WPLANG', ''); in wp-config.php. WordPress is version 2.3.3.

    Thank you all for help in advance!

Viewing 1 replies (of 1 total)
  • Thread Starter Etsuko

    (@rgblog)

    I figured out another way to work it out.
    I just wanted to put raw html tags in a post…So, I just used a plug-in called “raw html”. It worked like a magic!
    I did not have to implement special php tags in my template!

Viewing 1 replies (of 1 total)
  • The topic ‘HTML form tag with Japanese character in php file’ is closed to new replies.