[etoys-dev] Encoding for uploading projects
Bert Freudenberg
bert at freudenbergs.de
Thu Sep 24 11:26:36 EDT 2009
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 at squeakland.org>
>>>>> Date: 24. September 2009 11:53:21 MESZ
>>>>> To: Bert Freudenberg <bert at 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%FCttelschachtel.png
>>>>>
>>>>> 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 at squeakland.org
>>>> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>>>
>>
>> _______________________________________________
>> etoys-dev mailing list
>> etoys-dev at squeakland.org
>> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>
More information about the etoys-dev
mailing list