• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I have issue about transmission parameters to controller

[eluser]Nguyen The Nguyen[/eluser]
I need transmis parameter is a string type uni-code to controller
ex: http://localhost/M4U/index.php/playlist/create/Miền Cát/123
controller: playlist
method: create
2 para value: Miền Cát, 123

but value i received is %xx.....

very expect be the help

That's because it is converting the space to you cannot have spaces in your url's with out it converting them

Try putting an underscore on it!


The specification for URLs (RFC 1738), encode "Unsafe characters" like space, in % followed by 2 digit of its hexademial value. " " for spaces, means space have "20" as it hexadecimal values.

Use rawurl() function to deal with it in Route classes, should fix this.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.