Differences between revisions 5 and 22 (spanning 17 versions)
Revision 5 as of 2007-05-28 14:06:51
Size: 778
Editor: dslb-084-058-237-229
Comment:
Revision 22 as of 2007-08-19 22:08:31
Size: 295
Editor: p54A5D603
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= About character encoding = [wiki:Self:completesearch/Installation Installation Guide]
Line 3: Line 3:
In general we use UTF-8 as default character encoding. [wiki:Self:CodingConventions Coding Conventions]
Line 5: Line 5:
The AC->settings->encoding is 'utf-8' unless overriden in autocomplete_config.php
The text.php is saved as UTF-8
The css file uses '@charset "utf-8";'
[wiki:Self:completesearch/Markus Markus' comments / log]
Line 9: Line 7:
We have to support other encodings like iso-8859-1 because some collections are not utf-8 encoded. [wiki:Self:completesearch/TODO TODO list]
Line 11: Line 9:


== UTF-8 lowercase in PHP (23May07 Markus) ==

Requires extension mbstring (for functions like mb_strtolower). Following line required in php.ini

{{{
In windows:
extension=php_mbstring.dll

or in linux:
extension=php_mbstring.so
}}}

(On geek, the mb_... functions were available by default, on Markus's laptop the line above had to be added.)


== Texts in text.php are now UTF-8 encoded (23May07 Markus) ==
[wiki:Self:completesearch/ExcerptGenerator Excerpt Generator requirements]

[wiki:completesearch/Installation Installation Guide]

[wiki:CodingConventions Coding Conventions]

[wiki:completesearch/Markus Markus' comments / log]

[wiki:completesearch/TODO TODO list]

[wiki:completesearch/ExcerptGenerator Excerpt Generator requirements]

CompleteSearch: FrontPage (last edited 2017-03-19 13:30:19 by Hannah Bast)