Timeline for how to get request url?
Current License: CC BY-SA 4.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 14 at 6:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 16, 2023 at 6:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 18, 2023 at 5:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 20, 2023 at 4:09 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 21, 2022 at 3:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 23, 2022 at 2:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 25, 2022 at 1:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 26, 2021 at 1:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 28, 2021 at 0:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 29, 2021 at 23:33 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 30, 2021 at 22:25 | answer | added | Brad Bell♦ | timeline score: 1 | |
Mar 30, 2021 at 2:27 | comment | added | ivesho | The setting is "UTF-8". I try Request class methods, the getAbsoluteUrl() has same problem, "localhost����". But getFullPath(), getFullUri() and getSegment(1) can show chinese, "測試" . Sorry I am new in Craft CMS and programing. | |
Mar 29, 2021 at 23:13 | comment | added | Brad Bell♦ |
Maybe a server-side thing? If you go to Utilities->PHP Info in the Craft control panel and search for default_charset , what is it set to?
|
|
Mar 29, 2021 at 6:08 | comment | added | ivesho | @BradBell Thanks your help! I trid, but not working. | |
Mar 25, 2021 at 22:56 | comment | added | Brad Bell♦ |
Guessing you need to set <meta charset="UTF-8"> in your template?
|
|
Mar 25, 2021 at 8:05 | review | First posts | |||
Apr 8, 2021 at 8:06 | |||||
Mar 25, 2021 at 8:05 | comment | added | ivesho | localhost/���� | |
Mar 25, 2021 at 8:03 | history | asked | ivesho | CC BY-SA 4.0 |