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 Thanks
[eluser]InsiteFX[/eluser]
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! InsiteFX
[eluser]toopay[/eluser]
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. |
Welcome Guest, Not a member yet? Register Sign In |