<?xml version="1.0" encoding="utf-8"?>
<slide fontsize="6em">
	<title>Characters, not Bytes!</title>

	<list>
		<bullet>All functions and operators work on Code Points (characters) and not Code Units (bytes)</bullet>
		<bullet>Backward compatible if you only used single byte encodings before</bullet>
		<bullet>This does create overhead though, as we need to scan through a whole string</bullet>
	</list>

	<blurb>String Indexes:</blurb>
	<example result='1'><![CDATA[<?php
	$string = "网页搜索";
	// bytes are: E7 BD 91  E9 A1 B5  E6 90 9C  E7 B4 A2
	
	echo $string[1];
?>]]></example>
<!--
 # vim: encoding=utf8
-->
</slide>
