ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Codeigniter 1.7.2 UTF-8 Edition

December 21, 2009 10:41am

Subscribe [15]
  • #16 / Dec 24, 2009 8:59am

    Sbioko

    382 posts

    Everything! 😊 I will say again, if you want FULL UTF-8 compability, then just download and install my package.

  • #17 / Dec 27, 2009 8:39am

    Mahyar Ss

    11 posts

    Nobody needs this?

    hi Demedes,

    yes i needed it most !!!

    when i guery from DB, show character like “± سايتخوؔ

    i think must use utf-8

    can u help what i do?

    what must i set database tables Collation?

    thnx a lot

  • #18 / Dec 27, 2009 8:59am

    Sbioko

    382 posts

    CP-1251 does not support such symbols as Ù, Š and others. If you still have any questions, feel free to ask me!
    Whith my package, you don’t need any settings to work with UTF-8. You will just use it. Today, I hope, I will publish updated version of Codeigniter 1.7.2 UTF-8 Edition.

  • #19 / Dec 27, 2009 9:09am

    Mahyar Ss

    11 posts

    very thaaanks my friend 😊

    i will use utf-8 edition then tell u about result…

  • #20 / Dec 27, 2009 9:14am

    Sbioko

    382 posts

    Ok, I’ll wait!

  • #21 / Dec 27, 2009 9:30am

    Mahyar Ss

    11 posts

    Yessssssss yes yes :D it Work!!!

    i did search but i didn’t find anything can help fast and clean…

    very easy and full

    thanks Demedes

  • #22 / Dec 27, 2009 9:37am

    Sbioko

    382 posts

    I’m very happy and proud about my work and about your happyness 😊

  • #23 / Dec 27, 2009 4:26pm

    Sbioko

    382 posts

    As I promised, here is the next version of Codeigniter 1.7.2 UTF-8 Edition. This update fixes a few bugs, where you are using Session library. Unpack this into your system/boot/utf8 folder. Link: Uploading.com

  • #24 / Dec 31, 2009 3:35pm

    Xeoncross

    350 posts

    Only non-english people understand the need for stuff like this. I don’t get how any modern framework could still be relying on the string functions. Validation, comment parsing, text storage, etc… all fail without it.

    Good work, maybe someday CodeIgniter will make the switch to supporting other languages.

  • #25 / Jan 01, 2010 6:41am

    Sbioko

    382 posts

    Maybe, someday 😊 Thank you for the comment.

  • #26 / Jan 13, 2010 5:45pm

    Marc Arbour

    36 posts

    maybe someday CodeIgniter will make the switch to supporting other languages.

    I vote that CI does support other languages.

    The work is done here with this package. I looked through it and there is nothing much complicated to integrate into CI.

    While CI is a great piece of software… Please CI crew… DO INTEGRATE multi-byte string functions everywhere.

    Regards

    Marc.

  • #27 / Jan 13, 2010 5:52pm

    Sbioko

    382 posts

    Yeah, official UTF8 would be great! Before developing this, I thought about official UTF8 support, but who knows when it will be released? I just can’t wait. So, I shared it for everyone. Use it and be happy! 😊

  • #28 / Jan 13, 2010 11:58pm

    ShiverCube

    10 posts

    It’s interesting what you have done. I have previously integrated a subset of the phputf8 into my CodeIgniter install, but I did not replace every function with its UTF8 equivalent. What it seems you have done is not actually rewritten the core, but just done a bulk search and replace for all string functions which have a UTF8 equivalent. The mb_ range of functions add a slight performance hit, and in my opinion should not always be used instead of the standard PHP string functions.

    By using the methods Phil Sturgeon posted, and using the UTF8 functions in your own controllers and libraries (when needed), I don’t see how your application would be any less capable than replacing the whole CodeIgniter installation with this custom version. I think there are a lot of places where changes did not need to be made. For example, all the string functions in the Router class have been replaced with the UTF8 equivalents. I don’t know about everyone else, but I’m not planning on using non English characters in any of my URLs.

    Good work though. I’m also not completely satisfied with UTF8 support in CodeIgniter. I just wish PHP 6 would hurry up and be released, as it’s supposed to have better native support for UTF8.

  • #29 / Jan 14, 2010 11:06am

    Sbioko

    382 posts

    Thank you for the comment.

    I don’t know about everyone else, but I’m not planning on using non English characters in any of my URLs.

    I will do it in my CMS 😊 I think, that this is not bad ability.

  • #30 / Jan 14, 2010 3:24pm

    Julian Mesa

    4 posts

    Thank you !!!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases