Link to home
Start Free TrialLog in
Avatar of Eduardo Fuerte
Eduardo FuerteFlag for Brazil

asked on

Couls you point a way to make Codeigniter to consider the UTF-8 characters in config.php?

Hi Experts

Couls you point a way to make Codeigniter to consider the UTF-8 characters in config.php?

// Actually using
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';

//I'm trying to avoid to accept every character here - only UTF-8
//$config['permitted_uri_chars'] = '';

Open in new window


Thanks in advance!
SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Eduardo Fuerte

ASKER

Hi

The problem I had is: when using PHPExcel and the sheet to be saved uses special characters an error arises (unfortunatelly I didn't captured the picture)

But after return back to:

$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';

The error didn't reproduced.
I'm observing a little more to try catch the error again and better get the circunstances.
Let me ask: why do you want  set permitted URI chars to utf-8? What is the issue you want solve or prevent?
Hi Marco

Just a query with special characters in the string used in the where clause.
Can you give me an example?
Amazingly the error didn't reproduced again.
When we need errors they always stay hidden :-D
You're absolutelly right.... something else I did after that I'm trying to remember... sorry!
Don't be sorry at all: the bug ha gone, so be happy :-)
Don't Worry Be Happy
Bobby McFerrin
Here's a little song I wrote
You might want to sing it note-for-note
Don't worry, be happy
In every life we have some trouble
But when you worry, you make it double
Don't worry, be happy Don't worry, be happy now
Ooo-oo-hoo-hoo-oo hoo-hoo-oo-oo-oo-oo-ooo Don't worry
Woo-oo-woo-oo-woo-oo-ooo Be happy
Woo-oo-oo-oo-ooo Don't worry, be happy
Ooo-oo-hoo-hoo-oo hoo-hoo-oo-oo-oo-oo-ooo Don't worry
Woo-oo-woo-oo-oo-oo-ooo Be happy
Woo-oo-woo-oo-ooo Don't worry, be happy
Ain't got no place to lay your head
Somebody came and took your bed
Don't worry, be happy
The landlord say your rent is late
He may have to litigate
Don't worry, (ha-ha ha-ha ha-ha) be happy (look at me, I'm happy)
Ooo-oo-hoo-hoo-oo oo-oo-oo-oo-oo-oo-ooo Don't worry
Oo-oo-oo-oo-oo-oo-ooo Be… Letras completas no Google Play Música

Open in new window

Lol :-D
Thanks for help!