aip.im

Just another weblog

aip.im
  • Home
  • About
  • Contact Me
Subscribe
7 April 2011 0 Comments

Case insensitive functions not working properly with special international characters

I was creating a PHP-level search function using stripos to check if the search query was found in a string. Everything was working perfectly except special characters were still case sensitive. Turns out the problem is that the default locale was set to one not supporting those characters. To fix it, change the default locale [...]

Tags: PHP
  • Popular
  • Comments
  • Tags
  • Buddypress avatars not shown in Cometchat after upgrade to Wordpress 3.0
  • Monitoring Proxmox OpenVZ container's bandwidth
  • Re-map user to login in SQL server after restoring or attaching database
  • Debugging logrotate issues
  • Hobbit doesn't recognize last apt-get update
  • Alienation: Thanks, worked like a charm. Just a note: in st...
  • hmm...?: thanks...
  • dz-tchat: hi, try to use bp_core_fetch_avatar bp_core...
apt ASP.NET Buddypress Certificates Cometchat dd Debian Exchange hobbit IIS Linux logrotate Magento Mail mailscanner Microsoft SQL Server migration msdeploy mssql OpenSSL OpenVZ performance PHP Proxmox swfupload Thawte upgrade upload webdeploy Windows Windows Server Wordpress

Categories

  • ASP.NET
  • Debian
  • IIS
  • Linux
  • Magento
  • Mail
  • Microsoft SQL Server
  • OpenVZ
  • PHP
  • Proxmox
  • Security
  • Windows
  • Windows Server
  • Wordpress

Blogroll

  • Debian Tutorials
  • Domain DropBox
  • Ubuntu Tutorials
  • VPS Box

Copyright © aip.im 2009. All Rights Reserved.

A proud member of the premium wp themes family