I use a ZF2 (currently using 2.3.5) in the application as one of your main I am here. The router should be able to handle Turkish input characters coming from the URL. My first attempt looks like something (as a hair path):
'book' = & gt; Array ('type' = & gt; 'jend' \ mvc \ router \ htp \ segments '' option '=> array (' path '= & gt;' kitap /: book [/] ',' barriers = = & Gt; array ('book' = & gt; '[a-zA-ZçÇşŞğııİöÖüÜ1-3. +] +',),),),
Works for all required things: upper and lower case letters, up to 3, etc. Then I saw that it was not accepting Turkish capital (İ), so I started checking. It is not really accepting any Turkish character at all even if the rest of the bits are being processed properly.
Even the use of \ w +
does not match (location is set to Turkey?), But \ S +
, so the router does not have any problem with the Turkish URL, it just matches, which is strange.
I saw and used it to use preg_match ()
, which should handle it properly. What am I missing here?
Edit : About the same problem, but the Reggae Router deals with the same problem in Segment Router and is almost a duplicate, but it does not solve my problem As the code has been displayed against ZF2's earlier version, nor is there a drop in the match, nor can I turn it off to work, unlike up-to-date upstream modules which do things slightly differentlyIt seems to me that it will be fine there, but I am still left without the current working module. I am happy with this function to make replacement modules for my project, but this work Not able to understand the changes.
No comments:
Post a Comment