Skip to content

Instantly share code, notes, and snippets.

View carlholmberg's full-sized avatar

Carl Holmberg carlholmberg

View GitHub Profile
/**
* UTF8StringToArray
* Converts a string to a unicode codepoint array
*
* @param str $str string to convert
* @return array the resulting codepoint array
*/
private static function UTF8StringToArray($str) {
$out = array();
$len = strlen($str);
/*
Script: Date.Swedish.js
Date messages for Swdedish.
License:
MIT-style license.
Authors:
Carl Holmberg