Req #76091 [Opn->Csd]: icu_load_collation in sqlite.
Edit report at https://bugs.php.net/bug.php?id=76091&edit=1
ID: 76091
Updated by: cmb@php.net
Reported by: alejosimon at gmail dot com
Summary: icu_load_collation in sqlite.
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: PDO SQLite
Operating System: Windows 7 x64 SP1
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
To use the SQLite ICU extension[1], you'd have to load it first.
This is, however, not yet supported, but requested in request
#64810.
[1] <https://www.sqlite.org/src/artifact?ci=trunk&filename=ext/icu/README.txt>
Previous Comments:
------------------------------------------------------------------------
[2018-03-13 16:13:29] alejosimon at gmail dot com
Description:
------------
Hello, I need load more collations for use into sqlite pdo driver and use this method:
SELECT icu_load_collation('de_DE', 'de_DE') (for example)
and see this error:
SELECT icu_load_collation('de_DE', 'de_DE')
Code: HY000, SQLSTATE[HY000]: General error: 1 no such function: icu_load_collation, in....
Test script:
---------------
<?php
$pdo = new \PDO( ':memory:' ) ;
$pdo->query( 'SELECT icu_load_collation('de_DE', 'de_DE')' );
?>
Expected result:
----------------
suppoted ICU from SQLITE too.
Actual result:
--------------
Code: HY000, SQLSTATE[HY000]: General error: 1 no such function: icu_load_collation, in....
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76091&edit=1
Thread (2 messages)