Problem in adodb when using Chinese characters in browser title
- Status
- Pending
- Subject
- Problem in adodb when using Chinese characters in browser title
- Version
- 2.x
3.x - Category
- Usability
- Feature
- Database MySQL (MyISAM)
i18n (Multilingual, l10n, Babelfish)
Site Identity
Database independence (Non-Mysql, ADOdb Postgres, Oracle, etc) - Submitted by
- outcrop
- Lastmod by
- Arild Berg
- Rating
- Description
using long Chinese characters as browser title will cause the browser title borken, for example, if you use '机电工程师' as browser title, the browser will show '机电工程帛'.
it's maybe an adodb problem.
- Solution
A temp solution is forcing the adodb drivers to use utf8 encoding in the database operating. for example, if you use mysql driver, you can modify function _connect and function _pconnect, add:
@mysql_query("SET NAMES 'utf8'", $this->_connectionID);
beofre:
if ($argDatabasename) return $this->SelectDB($argDatabasename);
in the above two functions.
good luck!
- Importance
- 9 high
- Priority
- 45
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 2539
- Created
- Wednesday 03 June, 2009 06:30:26 UTC
by Unknown - LastModif
- Saturday 08 October, 2011 04:05:32 UTC