I am having difficulty trying to output a variable into a unicode file. I have file called survey.php that gets a password from a function and then does an include on a login.inc which is an html based file saved in unicode (has Japanese text). However, the php in login.inc never gets interpreted. I know the password variable contains a value because if I save login.inc as ascii the $password variable outputs fine. But when login.inc is unicode, the php is not interpreted.
// survey.php
$password = getAccess($id, $access, $msg, $survey_msg);
$login = "../cpjp/login.inc";
include($login);
// login.inc
<td><input type="hidden" name="sys_password" value="<?php echo $password; ?>"></td>
Any thoughts? Thanks much.