# Function java_set_file_encoding

Set the java file encoding, for example UTF-8 or ASCII.

Needed because php does not support unicode. All string to byte array conversions use this encoding. Example:

    java_set_file_encoding("ISO-8859-1");

License: GPL
Author: Jost Boekemeier
Located at JavaProxy.inc

Parameters summary
`string` | `$enc` | <p>valid file.encoding string. Please see your Java</p> <pre><span class="php-keyword2">file</span>.encoding</pre> <p>documentation for a list of valid encodings.</p>