Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8332175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:38:56+00:00 2026-06-09T02:38:56+00:00

Curious if anyone knows if codeigniter’s form validation built in max_length[n] and min_length[n] functions

  • 0

Curious if anyone knows if codeigniter’s form validation built in max_length[n] and min_length[n] functions count unicode characters as 1 character or the sum of all the characters used symbolize the unicode character?

I noticed when I var_dump the string it counts all the characters, just wondering if code igniter or php has a built in function to count unicode characters?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T02:38:58+00:00Added an answer on June 9, 2026 at 2:38 am

    Codeigniter uses php’s mb_strlen if it’s available on your php installation which allows for an encoding parameter to be passed along, otherwise it defaults to php’s basic strlength which doesn’t allow you to pass the string encoding along. The trouble is that CI doesn’t give you the ability to pass along the possible encoding for max_length[n]…

    If you need it to compensate for the encoding, you might be better served rolling your own validation with just raw php.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm curious if anyone knows of any downloadable Objective C sample code for the
I'm curious if anyone knows of a way to easily get a double border
I was curious if anyone knows of any good examples of plugins that I
Just curious if anyone knows of good sites for learning and understanding PyGame. I've
I'm curious if anyone knows how I can save the current state of a
I'm curious if anyone knows how to move the global messages inside the content
I'm curious if anyone knows of any frameworks that enable asynchronous multiplayer gaming in
I am curious if anyone knows if it is possible for a single portlet
I'm curious if anyone out there knows of something perhaps like Akismet, but where
Just curious if anyone knows a quick way to use ucwords() on a string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.