rejetto forum

one URL encoding question...

Garphy · 14 · 5428

0 Members and 1 Guest are viewing this topic.

Offline Garphy

  • Occasional poster
  • *
    • Posts: 80
    • View Profile
HFS is verrrrrrrry good~
so I've made a Chinese version.

now I have a question about the URL:

the following function check doesn't work:
"Encode non-ASCII characters"

disable it,but the URL still encoded like:
http://172.16.38.150/%BF%CE%BC%FE/
(IE isn't compatible well with it...)

so I wanna to set the URL like:
http://172.16.38.150/课件/

what's more:
"Encode spaces" shows its effect in the program Address bar,but ineffective in the brownser...
« Last Edit: December 23, 2006, 09:37:32 AM by Garphy »



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
your message is "in queue" :)
had no time to study your problem yet


Offline Garphy

  • Occasional poster
  • *
    • Posts: 80
    • View Profile

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
about the "non-ASCII", there was actually a bug, fixed in next build (076, to be published).

about the spaces, that's how it is intended to work. Inside generated pages all is encoded, to ensure it will work.


Offline Garphy

  • Occasional poster
  • *
    • Posts: 80
    • View Profile
about the "non-ASCII", there was actually a bug, fixed in next build (076, to be published).

about the spaces, that's how it is intended to work. Inside generated pages all is encoded, to ensure it will work.


woooo~
so good a news~

but test failed...
just like the description above,the check about "non-ASCII" only show the function in the program Address bar,but not in the IE....

addtion:chinese characters by using UTF-8 still abnormal
(characters in the filename normal, characters in the source of page abnormal,still occurs that: % take the place of > in the page source,this lead to the display error)


[attachment deleted by admin]


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
just like the description above,the check about "non-ASCII" only show the function in the program Address bar,but not in the IE....

that's how it is intended to work

Quote
addtion:chinese characters by using UTF-8 still abnormal
(characters in the filename normal, characters in the source of page abnormal,still occurs that: % take the place of > in the page source,this lead to the display error)

that's sad. to fix this problem i need someone in chat to test builds.


Offline Garphy

  • Occasional poster
  • *
    • Posts: 80
    • View Profile
i'd like to help you test
my email: garphy22#gmail.com


Offline Garphy

  • Occasional poster
  • *
    • Posts: 80
    • View Profile
Quote
of course...
i just want to make URL in its origin form(not %E5%9B%9B...)

let's discuss here...
have you understand what I said ?
(still unused to talk in English :-[ :-[ :-[)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
ok, let's try applying the non-ascii option also to links inside pages.
next build.



Offline Garphy

  • Occasional poster
  • *
    • Posts: 80
    • View Profile

xwh

  • Guest
[file]
<tr><td>%new% <a href="%item-url%"><img src="/~img_file" /> %item-name%</a>%comment%<td align=right>%item-size%<td align=right>%item-modified%<td align=right>%item-dl-count%

[folder]
<tr><td>%new% <a href="%item-url%"><img src="/~img_folder" /> <b>%item-name%</b></a>%comment%<td align=center><i>folder</i><td align=right>%item-modified%<td align=right>%item-dl-count%

[link]
<tr><td>%new% <a href="%item-url%"><img src="/~img_link" /> <b>%item-name%</b></a>%comment%<td colspan=3 align=center><i>link</i>

html template
"%item-url%"---"%item-name%"   That's ok!

[file]
<tr><td>%new% <a href="%item-name%"><img src="/~img_file" /> %item-name%</a>%comment%<td align=right>%item-size%<td align=right>%item-modified%<td align=right>%item-dl-count%

[folder]
<tr><td>%new% <a href="%item-name%"><img src="/~img_folder" /> <b>%item-name%</b></a>%comment%<td align=center><i>folder</i><td align=right>%item-modified%<td align=right>%item-dl-count%

[link]
<tr><td>%new% <a href="%item-name%"><img src="/~img_link" /> <b>%item-name%</b></a>%comment%<td colspan=3 align=center><i>link</i>


Offline Garphy

  • Occasional poster
  • *
    • Posts: 80
    • View Profile
now,no problem...

it's needed to encode the space in the filename...