3 namespace RedUNIT\Base;
5 use RedUNIT\Base as Base;
6 use RedBeanPHP\Facade as R;
11 * Tests whether we can store and retrive unicode characters.
13 * @file RedUNIT/Base/UTF8.php
14 * @desc Tests handling of NULL values.
15 * @author Gabor de Mooij and the RedBeanPHP Community
16 * @license New BSD/GPLv2
18 * (c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community.
19 * This source file is subject to the New BSD/GPLv2 License that is bundled
20 * with this source code in the file license.txt.
22 class Utf8 extends Base
29 public function testUTF8()
31 $str = '𠜎ὃ𠻗𠻹𠻺𠼭𠼮𠽌𠾴𠾼𠿪𡁜';
32 $bean = R::dispense( 'bean' );
36 $bean = R::load( 'bean', $bean->id );
37 asrt( $bean->bla, $str );