{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/9697","repository_url":"https://api.github.com/repos/cakephp/cakephp","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/9697/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/9697/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/9697/events","html_url":"https://github.com/cakephp/cakephp/issues/9697","id":187051711,"number":9697,"title":"Transliterator requirements","user":{"login":"glafarge","id":670645,"avatar_url":"https://avatars.githubusercontent.com/u/670645?v=3","gravatar_id":"","url":"https://api.github.com/users/glafarge","html_url":"https://github.com/glafarge","followers_url":"https://api.github.com/users/glafarge/followers","following_url":"https://api.github.com/users/glafarge/following{/other_user}","gists_url":"https://api.github.com/users/glafarge/gists{/gist_id}","starred_url":"https://api.github.com/users/glafarge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glafarge/subscriptions","organizations_url":"https://api.github.com/users/glafarge/orgs","repos_url":"https://api.github.com/users/glafarge/repos","events_url":"https://api.github.com/users/glafarge/events{/privacy}","received_events_url":"https://api.github.com/users/glafarge/received_events","type":"User","site_admin":false},"labels":[{"id":60504396,"url":"https://api.github.com/repos/cakephp/cakephp/labels/i18n","name":"i18n","color":"FFFFFF","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/110","html_url":"https://github.com/cakephp/cakephp/milestones/3.3.8","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/110/labels","id":2100927,"number":110,"title":"3.3.8","description":"Bugfixes and minor features for 3.3.x","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":19,"state":"open","created_at":"2016-10-29T02:05:55Z","updated_at":"2016-11-03T13:21:40Z","due_on":"2016-11-11T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-11-03T12:54:08Z","updated_at":"2016-11-03T14:23:41Z","closed_at":null,"body":"This is a :\r\n* [x] requirements thing\r\n* CakePHP Version: 3.3.6\r\n* Platform and Target: Linux + PHP 5.6.25\r\n* intl version : 1.1.0\r\n   * ICU version : 4.4.1\r\n   * ICU Data version : 4.4.0.1\r\n\r\n### What you did\r\n```php\r\nText::slug('Économie & développement durable');\r\n```\r\n### What happened\r\nPHP warning is thrown : \r\n```\r\ntransliterator_transliterate(): Could not create transliterator with ID \"Any-Latin; Latin-ASCII; [\\u0080-\\u7fff] remove\" (transliterator_create: unable to open ICU transliterator with id \"Any-Latin; Latin-ASCII; [\\u0080-\\u7fff] remove\": U_INVALID_ID) [CORE/src/Utility/Text.php, line 1065]\r\n```\r\nAs the ICU version is outdated, the default transliterator id string is not found.\r\n\r\n### Possible solutions\r\n* Specify the minimum intl version `\"ext-intl\": \">=2.0\"` in composer.json to meet the real requirements and update doc.\r\n* Provide a polyfill/fallback in `\\Cake\\Utility\\Text` like `Inflector::slug` did with search/replace when extension is not available or when transliterator id not found by testing against [registered transliterator IDs](http://php.net/manual/fr/transliterator.listids.php)... \r\n* Go for a run"},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/258156433","html_url":"https://github.com/cakephp/cakephp/issues/9697#issuecomment-258156433","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/9697","id":258156433,"user":{"login":"glafarge","id":670645,"avatar_url":"https://avatars.githubusercontent.com/u/670645?v=3","gravatar_id":"","url":"https://api.github.com/users/glafarge","html_url":"https://github.com/glafarge","followers_url":"https://api.github.com/users/glafarge/followers","following_url":"https://api.github.com/users/glafarge/following{/other_user}","gists_url":"https://api.github.com/users/glafarge/gists{/gist_id}","starred_url":"https://api.github.com/users/glafarge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glafarge/subscriptions","organizations_url":"https://api.github.com/users/glafarge/orgs","repos_url":"https://api.github.com/users/glafarge/repos","events_url":"https://api.github.com/users/glafarge/events{/privacy}","received_events_url":"https://api.github.com/users/glafarge/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T14:23:41Z","updated_at":"2016-11-03T14:23:41Z","body":"[**ICU 4.6**](http://site.icu-project.org/download/46) which implement for the first time CLDR 1.9 is the correct min. version that supports Latin-ASCII *\r\n\r\n\\* As I didn't find anything in changelog, I attempted to guess version by comparing the following two releases : [CLDR 1.8.1 core.zip](http://unicode.org/Public/cldr/1.8.1/core.zip) vs [CLDR 1.9.0 core.zip](http://unicode.org/Public/cldr/1.9.0/core.zip)"}}
{"actor":{"display_login":"glafarge"}}