Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

ScriptingWiki: Encoding breaks ACL's, pages unreadable

Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
07-18-2006 12:44
This needs to be sent to the website admin.

In recent months LL decided to change the default page encoding on the LSL wiki engine from Western to UTF-8. Now this is a good thing. EXCEPT: it breaks ACL's.

The ACL's control who can see, modify & comment on a page. They use a specific character to limit it to only registered users
ยง
The trouble is, the western encoding of the character and the utf8 encoding of the character are different. In the scripts that run the wiki were not writen in UTF-8 but in Western (ISO-8859-1). When the script wiki was changed over, the ACL page now instead of submitting in Western (ISO-8859-1) it submits in UTF-8. This means that the registered only character does not properly get read by the ACL controling script. The result? the registered only flag fails. This denies the permission. Meaning pages become unviewable, uneditable or impossible to comment on AND the owner does not know this.

There are a couple solutions, and one must be take; to it's full completion.
1) The scripts must be changed to UTF-8 and ALL ACL's converted from Western to UTF-8.
2) The ACL page must be set to render as Western in the headers.
3) The scripts changed to support both encodings of the character. This is probably the easiest.

This is a *major* issue as it denies access to the information on the wiki.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
07-19-2006 11:06
I'll get your info to the right Linden. Thanx Strife. :)
_____________________