unicode_encode Set encoding of a unicode string &reftitle.description; stringunicode_encode unicodeinput stringencoding intflags &warn.undocumented.func; Takes a unicode string and converts it to a string in the specified encoding. &reftitle.parameters; input The unicode string that will be encoded. encoding The new encoding for input. flags Flags &reftitle.returnvalues; A string on success, or &false; on failure. &reftitle.errors; Emits a E_WARNING level error if a converter cannot be created for the desired encoding. &reftitle.examples; A <function>unicode_encode</function> example Note: The characters will be seen instead of entities in the output. ]]> &example.outputs.similar; &reftitle.seealso; unicode_symantics