phpBB
Statistics
| Revision:

root / trunk / phpBB / includes / utf / utf_tools.php

History | View | Annotate | Download (59.5 kB)

  • svn:eol-style: LF
  • svn:keywords: Author Date Id Revision
# Date Author Comment
11036 03/07/2011 09:15 pm Git Gatekeeper

commit e00a868ce3fa8bfeec48dba36e6359f583dfc285
Merge: ffb697f 90cc061
Author: Andreas Fischer <>
Date: Mon Mar 7 21:56:24 2011 +0100

Merge branch 'ticket/igorw/9669' into develop
  • ticket/igorw/9669:
    [ticket/9669] Replace spaces with tabs...
10898 12/28/2010 09:45 pm Git Gatekeeper

commit 6e51e52f0c0f34a5dea8e3e1730de039ed5895e6
Merge: 90ccdb4 6b4d0a2
Author: Andreas Fischer <>
Date: Tue Dec 28 22:40:09 2010 +0100

Merge branch 'ticket/igorw/9574' into develop
  • ticket/igorw/9574:
    [ticket/9574] Add pcre_utf8_support() function...
10887 12/13/2010 03:45 pm Git Gatekeeper

commit adfa1656fb9d8b5bb601af1d7a6720884954d87a
Merge: bd579c8 af5b9a9
Author: Nils Adermann <>
Date: Mon Dec 13 16:35:55 2010 +0100

Merge branch 'ticket/igorw/9556' into develop
  • ticket/igorw/9556:
    [ticket/9556] Drop php closing tags, add trailing newline...
10211 10/04/2009 07:14 pm Meik Sievertsen

Copy 3.0.x branch to trunk

10041 08/21/2009 10:47 pm Jim Wigginton

- replaced the drop down menu log filter thing with log searching

9905 08/01/2009 01:28 pm Meik Sievertsen

Apply locale-independent basename() to attachment filenames. New function added: utf8_basename(). (Bug #43335 - Patch by ocean=Yohsuke)

8510 04/20/2008 07:16 am David M

#21885

8479 03/29/2008 01:22 am Nils Adermann

Hiding everywhere little buggers, eh?

8285 12/26/2007 03:53 pm

This commit was manufactured by cvs2svn to create branch 'phpBB-3_0_0'.

8261 12/04/2007 05:20 pm Nils Adermann

Cleaned usernames contain only single spaces, so 'a_name' and 'a__name' are treated as the same name [Bug #15634]

8214 10/21/2007 08:48 pm Nils Adermann

- Allow charset names containing underscores or spaces

8147 10/05/2007 04:36 pm Meik Sievertsen

dumdidum... sorry. ;)

8035 08/16/2007 02:19 pm Nils Adermann

- added information about Unicode to coding guidelines
- two little changes

8034 08/16/2007 01:28 pm Meik Sievertsen

- two new packages... diff and utf
- only 60 chars for topic title if new post (please see changelog for explanation)
- change utf8_wordwrap (had some bugs david and nils spotted - was not really functional, sorry for this. :D)

8033 08/15/2007 07:32 pm Meik Sievertsen

some bugs fixed

7925 07/23/2007 06:14 am David M

- a better way of checking PCRE property support
- fixed the naming of a variable or two

7920 07/22/2007 10:11 pm Meik Sievertsen

try to normalize everything...

7892 07/16/2007 02:47 am David M

make sure the class exists before we try to normalize with it

7891 07/15/2007 11:20 pm David M

remove code duplication

7890 07/15/2007 10:53 pm Nils Adermann

- search result extract shouldn't end in the middle of a multibyte character [Bug #11863]
- missing localisation for an imageset shouldn't create lots of "imageset refreshed" log messages [Bug #12027]
- explain that themes which need parsing cannot be stored on the filesystem [Bug #11134]...

7886 07/15/2007 01:49 pm David M

two new functions that will eventually replace one, this will give us a better case fold solution

7736 06/09/2007 01:11 pm Meik Sievertsen

ok, mess around with the templates + fixing some bugs + adjusting headers for those files already modified to circumvent conflicts for those having their editor set to remove trailing spaces (not recommended!)

7703 06/02/2007 01:10 am David M

#12039

7691 05/27/2007 04:01 pm David M

#11769

7669 05/24/2007 01:37 am David M

- Handle ISO-8859-8-i
- Renamed two indicies for Oracle support #11457

7456 05/04/2007 02:30 pm Meik Sievertsen

added class for disabled options in ACP
E_USER_ERROR now using language keys if available [related to #10445]
UCP/MCP title tags [#10441]
Check $start parameter in viewforum [#10435]
Check for postable forum for moving user posts within users ACP [#10433]...

7255 04/01/2007 02:39 pm David M

- PostgreSQL can now use schemas. During install, under database name, enter databasename.schema
- phpversion() to PHP_VERSION

7239 03/29/2007 12:29 pm David M
  • empty log message ***
7235 03/28/2007 01:22 am David M

#5330

7008 02/18/2007 10:03 pm David M

- PHP4's mbstring is stupid stupid stupid

6971 02/07/2007 05:02 am David M

#7698
- small UTF-8 thing

6953 02/01/2007 02:22 am David M

eh? meh.

6952 01/31/2007 10:20 pm David M

#7474
#7308

6939 01/27/2007 05:41 pm Meik Sievertsen

some very tiny adjustements.

6933 01/26/2007 08:56 pm Nils Adermann

oops

6932 01/26/2007 07:15 pm Nils Adermann

- allow underscores in CSS class names / ids
- remove control characters from clean strings, and map all space characters to ASCII space (\x20)

6930 01/26/2007 05:09 pm Meik Sievertsen

- fix some oddities (doubled spaces for example)
- changed the way make_forum_select() is returning the forum list - now including skipped forums but being disabled. This should make identifying the correct forum much more easier.
- Changed some permission namings based on suggestions by the community...

6862 01/08/2007 10:14 pm Nils Adermann

- new homographs or IDN confusables ( http://www.unicode.org/reports/tr39/data/international.txt )
- also added character names to old homographs
- pagination_sep theme option removed, PAGINATION_SEPERATOR can be set in language files and the theme can overwrite it using span.page-sep [Bug #6872]

6852 01/07/2007 03:24 pm David M

#6828

6849 01/07/2007 05:24 am David M

- prefer ISO over CP as ISO is more common
- added TIS-620 and cp-1251

6848 01/07/2007 01:44 am Nils Adermann

- Treat system messages as ISO-8859-1 just like PHP does it

6845 01/06/2007 08:23 pm Meik Sievertsen

recode_basic and recode_cjk (this one is most probably not within the full release but available seperatly due to it's sheer size) for converting to utf8

6832 01/03/2007 07:58 pm Nils Adermann

- allow login with redirect parameter
- altered URL regular expression so it won't cause problem with long URLs - PCRE >:( [Bug #6720]
- moderator list on index should have coloured groups in bold as everywhere else too
- correctly handle password requirements in UCP [Bug #6692]...

6824 12/29/2006 08:12 am David M

- added GB2312 support, made things nicer :D

6823 12/28/2006 09:46 pm David M

#6646

6821 12/28/2006 07:59 pm David M

hah! finally :D

6819 12/28/2006 06:28 pm Meik Sievertsen

- add return links to approve details [#6252]
- lets decide on input field or textarea based on the entry length in language pack management [#6280]

6721 12/07/2006 03:52 am David M

- removed a regex that made no sense

6720 12/07/2006 03:30 am David M

- do data validation via is_int instead of preg_match, ctype has bugs so it can't be trusted

6701 12/02/2006 07:16 pm David M

- pretty serious speed improvement for strtoupper/strtolower
- mbstring envrio checks
#5774

6657 11/26/2006 02:07 pm Meik Sievertsen

use needle

6643 11/23/2006 05:15 pm Meik Sievertsen

fixes for bugs #5564, #5554 and #5462

6595 11/17/2006 08:37 pm Meik Sievertsen

adjust some comments to work with phpdocumentor. :)

6593 11/16/2006 09:16 pm David M

#5362
- small opti/bugfix in normalizer

6584 11/15/2006 04:35 pm Meik Sievertsen

- fixes for the following bugs:
#5326
#5318
#5304
#5290
#5288
#5278
#5276
#5272
#5266
- also fixed the "Call-time pass-by-reference" bug #5252
- within this step changed the normalize calls to require references.
- added captcha size variables to the class scope (suggestion was posted at area51)

6569 11/12/2006 03:29 pm Nils Adermann

message

6561 11/10/2006 02:49 pm Meik Sievertsen

- some fixes
- added script for easy adjustement of username_clean column within the users table (please see the note i added to the utf8_clean_string() function)

6549 11/04/2006 12:09 am David M

- compress is nicer (fixed a bug :P)
- UTF-8 code is nicer (fixed a bug :P)
- new CAPTCHA. Replaced the old one for size and usability issues. The old CAPTCHA will most likely be released as a separate package

6548 11/03/2006 10:05 pm Meik Sievertsen

ok, i am an idiot...

6545 11/03/2006 12:26 pm Meik Sievertsen

- implemented the suggested html_entity_decode function made by david
- fixed string length checking by also decoding entities for the sake of checking
- used the new html_entity_decode function

6539 10/30/2006 08:51 pm Meik Sievertsen

- temporarily disable x-sendfile support (we need to look into methods of checking if it is enabled/disabled or introducing a switch)
- finally allow custom permission settings files (in acp/ as well as in mods/)

6517 10/22/2006 03:32 pm Meik Sievertsen

- now username changes should work as desired
- removed some extract() calls

6494 10/14/2006 12:10 am Nils Adermann

- introducing clean usernames, needs to be tested more, I'm not sure I didn't miss anything
- homograph list should probably be extended

6471 10/09/2006 07:44 pm David M

hopefully no bugs...

- faster encoding and way faster decoding (hopefully)
- waaaaay faster strtoupper strtolower transforms
- more powerful utf8_substr
- removed two (now) useless functions

P.S.
decode and upper/lower all had bugs before :P

6466 10/08/2006 01:21 pm Meik Sievertsen

filenames and directories are lowercase only

6464 10/08/2006 12:51 am David M

Case folding! :D

6459 10/07/2006 07:40 pm Meik Sievertsen

he braces style is deprecated as of PHP 6

6457 10/07/2006 06:49 pm Meik Sievertsen

strpos...

6452 10/07/2006 02:36 pm Meik Sievertsen

tried to begin adjusting all string functions where applicable - still a lot to do.
i hope i catched all relevant sections and did not mess something up.

6422 10/01/2006 10:48 am David M

- forgot to make the same change to the ODBC driver
- MySQL 3.x works now
- FirebirdSQL is now on the same level as MySQL and PostgreSQL, zero hacks exist inside the core code now

6414 09/28/2006 05:04 pm Meik Sievertsen

- added confirmation to removing bbcodes
- added optional MX and DNSBL checks
- added backtrace (triggering sql error) on error within sql_in_set as well as making sure it is handling an array
- let users having f_list access to a forum actually see the forum without a topic list and not displaying an error message - this allows for giving people access to subforums but not the parent forum without the need to add the (sub-)forum to the index....

6380 09/18/2006 12:02 am Nils Adermann

- no more encoding mixture, say hello to UTF-8 (I'll add a validation solution for PHP 4.3.3/4 ASAP) [side effect: fixes Bug #3762]
- take local server time into consideration for birthday/age calculation
- faster active topic search
- allow changing active topic time frame [Bug #4150]...

6376 09/17/2006 04:52 am David M

commenting some code :D

6372 09/16/2006 03:25 pm David M

drat

6370 09/16/2006 12:38 am David M

yet another oops...

6369 09/16/2006 12:24 am David M

whitespace :P

6368 09/16/2006 12:15 am David M

new utf8_* stuff

6342 09/01/2006 03:16 pm Meik Sievertsen

fix some bugs - hopefully not breaking anything...

6312 08/22/2006 11:26 pm Meik Sievertsen

some updates. Also adjusted the utf tools and normalizer more to our coding guidelines.

6187 07/15/2006 07:01 pm ludovic_arnaud

Changed: moved functions that encode/decode NCRs from and to UTF-8 to utf_tools.php

6174 07/13/2006 12:56 am ludovic_arnaud

Added: UTF-8 tools. Both functions are used by the "improved" search engine. We'll need utf8_strlen() if we go with UTF-8 in 3.2
TODO: native recoding engine, written in PHP