"input is invalid" error

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

"input is invalid" error

Donna@hawcenter.org

Greetings from Southern California!

I am trying to copy and paste text from an existing Microsoft Word document to the Pier website. I keep getting a message that my input is invalid. I have tried saving it first as rich text and plain text but in every case get the same error message. Is there a way for me to do this without typing it over again? What characters are not allowed?

Thank you for your help!

Donna Schrokosch



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: "input is invalid" error

Lukas Renggli
This looks like you get an error from the server adaptor trying to
convert between UTF-8 and the internal encoding of Squeak. Probably
the Word document (or the clipbloard) contains invalid UTF-8
sequences.

The real solution would be to ensure that the text is a valid UTF-8
sequence, but I frankly don't know how to achieve that with Word. The
other possibility is to disable the conversion in Squeak. Evaluate
something along:

   WAKom withAllSubclassesDo: [ :each | each stop ].
   WAKom startOn: 8080

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: "input is invalid" error

John McKeon
When you choose File/Save As (and choose Text File - *.txt in the "Save As Type:" combo box) you should get a conversion dialog with a radio button for Other Encoding. Check that and the list box to right will be enabled. Scroll down to find UTF-8 and select it. If there are characters that will not convert correctly you will see a warning below the list box and the offending characters will show up in RED in the Preview text box. These MIGHT get changed to ?'s in the resulting text file. If not, try checking Character Substitution and see if that works. If not that doesn't work you should remove/edit those portions before copying/pasting.
Hope this helps
John

On Fri, Mar 13, 2009 at 3:03 AM, Lukas Renggli <[hidden email]> wrote:
This looks like you get an error from the server adaptor trying to
convert between UTF-8 and the internal encoding of Squeak. Probably
the Word document (or the clipbloard) contains invalid UTF-8
sequences.

The real solution would be to ensure that the text is a valid UTF-8
sequence, but I frankly don't know how to achieve that with Word. The
other possibility is to disable the conversion in Squeak. Evaluate
something along:

  WAKom withAllSubclassesDo: [ :each | each stop ].
  WAKom startOn: 8080

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: "input is invalid" error

John McKeon
I guess I should have mentioned somewhere in there that this is all done from Microsoft Word... =)

John



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki