[squeak-dev] Invalid UTF-8 input detected

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Invalid UTF-8 input detected

Bèrto ëd Sèra
Hi all,

I have a weird thing happening. I downloaded the latest squeak and when it opens it immediately delivers this error. Okay, so I open and close the emergency evaluator then I can work. But as soon as I try to save an updated image... here we go again. So no saving, which is obviously bad.

Running on
XP pro 2002 version, SP2 (russian edition)
Squeak 3.10.2

It looks like the problem is connected to my filesystem strings.
In secureUserDirectory
dir := self primSecureUserDirectory.

generates a string in the form path+username which results in trouble: 'C:\Program Files\Squeak\Áýðòó'. My username on the system is in cyrillic, and this really looks like it.

Then in convertFromWithConverter (ByteString) the exception is raised.

I've been googling a bit about this, but I cannot seem to find much. Any hint at what we should do? It does look like a problem that is going to occur over and over again, and since the app I'm about to write deals with languages and thousands of different scripts... This is a bit worrying.

Let me know.
Bèrto


Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Invalid UTF-8 input detected

Andreas.Raab
Hi Bèrto -

This looks like a bug in the UTF-8 conversion that the VM does. I'll
check it. As a workaround, you can try an earlier VM to see if this helps.

Cheers,
   - Andreas

Bèrto ëd Sèra wrote:

> Hi all,
>
> I have a weird thing happening. I downloaded the latest squeak and when
> it opens it immediately delivers this error. Okay, so I open and close
> the emergency evaluator then I can work. But as soon as I try to save an
> updated image... here we go again. So no saving, which is obviously bad.
>
> Running on
> XP pro 2002 version, SP2 (russian edition)
> Squeak 3.10.2
>
> It looks like the problem is connected to my filesystem strings.
> In secureUserDirectory
> dir := self primSecureUserDirectory.
>
> generates a string in the form path+username which results in trouble:
> 'C:\Program Files\Squeak\Áýðòó'. My username on the system is in
> cyrillic, and this really looks like it.
>
> Then in convertFromWithConverter (ByteString) the exception is raised.
>
> I've been googling a bit about this, but I cannot seem to find much. Any
> hint at what we should do? It does look like a problem that is going to
> occur over and over again, and since the app I'm about to write deals
> with languages and thousands of different scripts... This is a bit worrying.
>
> Let me know.
> Bèrto
>
>
> ------------------------------------------------------------------------
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Invalid UTF-8 input detected

Bèrto ëd Sèra
Hi again,

I just verified that the current Seasuide release works perfectly.
This one: http://www.seaside.st/resources/distributions/Seaside-2.8.2.app.zip
Have no idea of what VM they mount, though.

Bèrto

2008/6/17 Andreas Raab <[hidden email]>:
Hi Bèrto -

This looks like a bug in the UTF-8 conversion that the VM does. I'll check it. As a workaround, you can try an earlier VM to see if this helps.

Cheers,
 - Andreas

Bèrto ëd Sèra wrote:
Hi all,

I have a weird thing happening. I downloaded the latest squeak and when it opens it immediately delivers this error. Okay, so I open and close the emergency evaluator then I can work. But as soon as I try to save an updated image... here we go again. So no saving, which is obviously bad.

Running on
XP pro 2002 version, SP2 (russian edition)
Squeak 3.10.2

It looks like the problem is connected to my filesystem strings.
In secureUserDirectory
dir := self primSecureUserDirectory.

generates a string in the form path+username which results in trouble: 'C:\Program Files\Squeak\Áýðòó'. My username on the system is in cyrillic, and this really looks like it.

Then in convertFromWithConverter (ByteString) the exception is raised.

I've been googling a bit about this, but I cannot seem to find much. Any hint at what we should do? It does look like a problem that is going to occur over and over again, and since the app I'm about to write deals with languages and thousands of different scripts... This is a bit worrying.

Let me know.
Bèrto


------------------------------------------------------------------------







Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Invalid UTF-8 input detected

Bèrto ëd Sèra
It was meant to be "Seaside", obviously :)

2008/6/19 Bèrto ëd Sèra <[hidden email]>:
Hi again,

I just verified that the current Seasuide release works perfectly.
This one: http://www.seaside.st/resources/distributions/Seaside-2.8.2.app.zip
Have no idea of what VM they mount, though.

Bèrto

2008/6/17 Andreas Raab <[hidden email]>:

Hi Bèrto -

This looks like a bug in the UTF-8 conversion that the VM does. I'll check it. As a workaround, you can try an earlier VM to see if this helps.

Cheers,
 - Andreas

Bèrto ëd Sèra wrote:
Hi all,

I have a weird thing happening. I downloaded the latest squeak and when it opens it immediately delivers this error. Okay, so I open and close the emergency evaluator then I can work. But as soon as I try to save an updated image... here we go again. So no saving, which is obviously bad.

Running on
XP pro 2002 version, SP2 (russian edition)
Squeak 3.10.2

It looks like the problem is connected to my filesystem strings.
In secureUserDirectory
dir := self primSecureUserDirectory.

generates a string in the form path+username which results in trouble: 'C:\Program Files\Squeak\Áýðòó'. My username on the system is in cyrillic, and this really looks like it.

Then in convertFromWithConverter (ByteString) the exception is raised.

I've been googling a bit about this, but I cannot seem to find much. Any hint at what we should do? It does look like a problem that is going to occur over and over again, and since the app I'm about to write deals with languages and thousands of different scripts... This is a bit worrying.

Let me know.
Bèrto


------------------------------------------------------------------------








Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Invalid UTF-8 input detected

Bèrto ëd Sèra
More checking, the current Sphie distro has the same bug:
http://www.sophieproject.org/downloads/releases/SophieSetupBuild24.exe

2008/6/19 Bèrto ëd Sèra <[hidden email]>:
It was meant to be "Seaside", obviously :)

2008/6/19 Bèrto ëd Sèra <[hidden email]>:

Hi again,

I just verified that the current Seasuide release works perfectly.
This one: http://www.seaside.st/resources/distributions/Seaside-2.8.2.app.zip
Have no idea of what VM they mount, though.

Bèrto

2008/6/17 Andreas Raab <[hidden email]>:

Hi Bèrto -

This looks like a bug in the UTF-8 conversion that the VM does. I'll check it. As a workaround, you can try an earlier VM to see if this helps.

Cheers,
 - Andreas

Bèrto ëd Sèra wrote:
Hi all,

I have a weird thing happening. I downloaded the latest squeak and when it opens it immediately delivers this error. Okay, so I open and close the emergency evaluator then I can work. But as soon as I try to save an updated image... here we go again. So no saving, which is obviously bad.

Running on
XP pro 2002 version, SP2 (russian edition)
Squeak 3.10.2

It looks like the problem is connected to my filesystem strings.
In secureUserDirectory
dir := self primSecureUserDirectory.

generates a string in the form path+username which results in trouble: 'C:\Program Files\Squeak\Áýðòó'. My username on the system is in cyrillic, and this really looks like it.

Then in convertFromWithConverter (ByteString) the exception is raised.

I've been googling a bit about this, but I cannot seem to find much. Any hint at what we should do? It does look like a problem that is going to occur over and over again, and since the app I'm about to write deals with languages and thousands of different scripts... This is a bit worrying.

Let me know.
Bèrto


------------------------------------------------------------------------