Dotclear

Ticket #94 (closed defect: fixed)

Opened 19 years ago

Last modified 19 years ago

PCRE_UTF8 non supporté

Reported by: mik Owned by: olivier
Priority: normal Milestone:
Component: module:core Version:
Severity: major Keywords:
Cc:

Description (last modified by olivier) (diff)

Lors du post d'un billet, sur une installation avec PCRE non compilé avec le support PCRE_UTF8 on obtient :

Warning: preg_match_all() [function.preg-match-all]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /var/www/trunk/inc/clearbricks/lib.text.php on line 163

Warning: preg_replace() [function.preg-replace]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /var/www/trunk/inc/clearbricks/lib.text.php on line 80

Et ça casse le processus de post.

Je ne pense pas que par defaut PCRE soit compilé avec le support UTF8, peut être qu'un fallback en non UTF8 le cas échéant serait interessant...

Change History

comment:1 Changed 19 years ago by olivier

  • Status changed from new to assigned
  • Description modified (diff)

Merte ! C'est parfaitement impossible, le flag /u est utilisé partout :(

  • Trouver un moyen de détecter si PCRE a le support UTF-8 et jeter si ce n'est pas le cas.

comment:2 Changed 19 years ago by olivier

  • Status changed from assigned to closed
  • Resolution set to fixed
  • billable set to 0
Note: See TracTickets for help on using tickets.

Sites map