Yoshiki,
when Etoys uploads a project to webdav, does it encode the file name as UTF-8? Is there perhaps an HTTP or HTML header we must set to indicate to the server the filename's encoding?
Even if the Squeakland server cannot handle non-ASCII names for now, we should make sure Etoys does the right thing. Maybe someone could test with a regular DAV server?
Or can we ignore the issue for this release?
- Bert -
Begin forwarded message:
From: squeakland website noreply@squeakland.org Date: 24. September 2009 11:53:21 MESZ To: Bert Freudenberg bert@freudenbergs.de Subject: {squeakland} Comment on 'Schüttelschachtel' by <bert>
Comment on 'Schüttelschachtel' by <bert>
The screenshot is there http://squeakland.org/content/showcase/everyone/accounts/bert/Sch%FCttelscha...
Uses the same encoding as the project file name, and launching the project works. Looking at this page's source code there is no difference. Perhaps the launcher does something to make it work?
To view the project page, click ... http://squeakland.org/showcase/project.jsp?id=7051
Probably best to solve this on the server side, especially since old projects and versions will be using UTF-8, right?
I can switch over to UTF-8 as soon as I convert the database content from Brazil, which was uploaded as 8859.
On Sep 24, 2009, at 6:08 AM, Bert Freudenberg wrote:
Yoshiki,
when Etoys uploads a project to webdav, does it encode the file name as UTF-8? Is there perhaps an HTTP or HTML header we must set to indicate to the server the filename's encoding?
Even if the Squeakland server cannot handle non-ASCII names for now, we should make sure Etoys does the right thing. Maybe someone could test with a regular DAV server?
Or can we ignore the issue for this release?
- Bert -
Begin forwarded message:
From: squeakland website noreply@squeakland.org Date: 24. September 2009 11:53:21 MESZ To: Bert Freudenberg bert@freudenbergs.de Subject: {squeakland} Comment on 'Schüttelschachtel' by <bert>
Comment on 'Schüttelschachtel' by <bert>
The screenshot is there http://squeakland.org/content/showcase/everyone/accounts/bert/Sch%FCttelscha...
Uses the same encoding as the project file name, and launching the project works. Looking at this page's source code there is no difference. Perhaps the launcher does something to make it work?
To view the project page, click ... http://squeakland.org/showcase/project.jsp?id=7051
etoys-dev mailing list etoys-dev@squeakland.org http://lists.squeakland.org/mailman/listinfo/etoys-dev
I don't know, that's why I was asking Yoshiki.
Do you use the filename as transmitted by webdav, or do you extract it from the .pr itself? I'd have assumed it comes from webdav, and if so, we must make sure Etoys is actually transmitting the right information.
- Bert -
On 24.09.2009, at 15:19, Timothy Falconer wrote:
Probably best to solve this on the server side, especially since old projects and versions will be using UTF-8, right?
I can switch over to UTF-8 as soon as I convert the database content from Brazil, which was uploaded as 8859.
On Sep 24, 2009, at 6:08 AM, Bert Freudenberg wrote:
Yoshiki,
when Etoys uploads a project to webdav, does it encode the file name as UTF-8? Is there perhaps an HTTP or HTML header we must set to indicate to the server the filename's encoding?
Even if the Squeakland server cannot handle non-ASCII names for now, we should make sure Etoys does the right thing. Maybe someone could test with a regular DAV server?
Or can we ignore the issue for this release?
- Bert -
Begin forwarded message:
From: squeakland website noreply@squeakland.org Date: 24. September 2009 11:53:21 MESZ To: Bert Freudenberg bert@freudenbergs.de Subject: {squeakland} Comment on 'Schüttelschachtel' by <bert>
Comment on 'Schüttelschachtel' by <bert>
The screenshot is there http://squeakland.org/content/showcase/everyone/accounts/bert/Sch%FCttelscha...
Uses the same encoding as the project file name, and launching the project works. Looking at this page's source code there is no difference. Perhaps the launcher does something to make it work?
To view the project page, click ... http://squeakland.org/showcase/project.jsp?id=7051
etoys-dev mailing list etoys-dev@squeakland.org http://lists.squeakland.org/mailman/listinfo/etoys-dev
Hmm.... I use the outer-pr file from webdav, but the screenshot I get from within the PR file.
Might be part of the problem.
On Sep 24, 2009, at 10:03 AM, Bert Freudenberg wrote:
I don't know, that's why I was asking Yoshiki.
Do you use the filename as transmitted by webdav, or do you extract it from the .pr itself? I'd have assumed it comes from webdav, and if so, we must make sure Etoys is actually transmitting the right information.
- Bert -
On 24.09.2009, at 15:19, Timothy Falconer wrote:
Probably best to solve this on the server side, especially since old projects and versions will be using UTF-8, right?
I can switch over to UTF-8 as soon as I convert the database content from Brazil, which was uploaded as 8859.
On Sep 24, 2009, at 6:08 AM, Bert Freudenberg wrote:
Yoshiki,
when Etoys uploads a project to webdav, does it encode the file name as UTF-8? Is there perhaps an HTTP or HTML header we must set to indicate to the server the filename's encoding?
Even if the Squeakland server cannot handle non-ASCII names for now, we should make sure Etoys does the right thing. Maybe someone could test with a regular DAV server?
Or can we ignore the issue for this release?
- Bert -
Begin forwarded message:
From: squeakland website noreply@squeakland.org Date: 24. September 2009 11:53:21 MESZ To: Bert Freudenberg bert@freudenbergs.de Subject: {squeakland} Comment on 'Schüttelschachtel' by <bert>
Comment on 'Schüttelschachtel' by <bert>
The screenshot is there http://squeakland.org/content/showcase/everyone/accounts/bert/Sch%FCttelscha...
Uses the same encoding as the project file name, and launching the project works. Looking at this page's source code there is no difference. Perhaps the launcher does something to make it work?
To view the project page, click ... http://squeakland.org/showcase/project.jsp?id=7051
etoys-dev mailing list etoys-dev@squeakland.org http://lists.squeakland.org/mailman/listinfo/etoys-dev
etoys-dev mailing list etoys-dev@squeakland.org http://lists.squeakland.org/mailman/listinfo/etoys-dev
Good idea then we at least named the thumb within the project using a constant name ;)
Looking at the uploaded filename for my Schüttelschachtel project it appears it was sent or saved as Latin-1. This is wrong, we need to be sending / storing as UTF-8.
- Bert -
On 24.09.2009, at 16:48, Timothy Falconer wrote:
Hmm.... I use the outer-pr file from webdav, but the screenshot I get from within the PR file.
Might be part of the problem.
On Sep 24, 2009, at 10:03 AM, Bert Freudenberg wrote:
I don't know, that's why I was asking Yoshiki.
Do you use the filename as transmitted by webdav, or do you extract it from the .pr itself? I'd have assumed it comes from webdav, and if so, we must make sure Etoys is actually transmitting the right information.
- Bert -
On 24.09.2009, at 15:19, Timothy Falconer wrote:
Probably best to solve this on the server side, especially since old projects and versions will be using UTF-8, right?
I can switch over to UTF-8 as soon as I convert the database content from Brazil, which was uploaded as 8859.
On Sep 24, 2009, at 6:08 AM, Bert Freudenberg wrote:
Yoshiki,
when Etoys uploads a project to webdav, does it encode the file name as UTF-8? Is there perhaps an HTTP or HTML header we must set to indicate to the server the filename's encoding?
Even if the Squeakland server cannot handle non-ASCII names for now, we should make sure Etoys does the right thing. Maybe someone could test with a regular DAV server?
Or can we ignore the issue for this release?
- Bert -
Begin forwarded message:
From: squeakland website noreply@squeakland.org Date: 24. September 2009 11:53:21 MESZ To: Bert Freudenberg bert@freudenbergs.de Subject: {squeakland} Comment on 'Schüttelschachtel' by <bert>
Comment on 'Schüttelschachtel' by <bert>
The screenshot is there http://squeakland.org/content/showcase/everyone/accounts/bert/Sch%FCttelscha...
Uses the same encoding as the project file name, and launching the project works. Looking at this page's source code there is no difference. Perhaps the launcher does something to make it work?
To view the project page, click ... http://squeakland.org/showcase/project.jsp?id=7051
etoys-dev mailing list etoys-dev@squeakland.org http://lists.squeakland.org/mailman/listinfo/etoys-dev
etoys-dev mailing list etoys-dev@squeakland.org http://lists.squeakland.org/mailman/listinfo/etoys-dev
At Thu, 24 Sep 2009 12:08:36 +0200, Bert Freudenberg wrote:
Yoshiki,
when Etoys uploads a project to webdav, does it encode the file name as UTF-8? Is there perhaps an HTTP or HTML header we must set to indicate to the server the filename's encoding?
Even if the Squeakland server cannot handle non-ASCII names for now, we should make sure Etoys does the right thing. Maybe someone could test with a regular DAV server?
Or can we ignore the issue for this release?
The filename is in the HTTP encoding, which is correct. The file names of the members in the zip file is not standarized; from Europe, should be latin-1 (need to check what project saving actual does). If it is from Japan, it would be ShiftJIS. So, basically we shouldn't use the member names.
The content in the manifest file is UTF-8.
-- Yoshiki
etoys-dev@lists.squeakfoundation.org