<?xml version="1.0" encoding="utf-8"?>
<slide fontsize="6em">
	<title>HTTP Output Encoding</title>

	<list>
		<bullet>Is used as encoding for the output of the script</bullet>
		<bullet>Script output is encoding on the fly</bullet>
		<bullet>Binary strings will never be automatically converted</bullet>
	</list>

	<blurb>On the fly encoding:</blurb>
	<example><![CDATA[<?php
	declare(encoding="iso-8859-1");
	ini_set('unicode.output_encoding', 'utf-8');
	
	$str = "rødbærsyltetøy<br/>";
	$bstr = b "rødbærsyltetøy<br/>";

	echo $str, $bstr;
?>]]></example>
	<blurb>Output:</blurb>
	<blurb class="bit_larger_output"><![CDATA[rÃ¸dbÃ¦rsyltetÃ¸y<br/>rødbærsyltetøy<br/>]]></blurb>
</slide>
