AltME: Web

Messages

Endo
Confirmed, on Opera on XP/Pro.
Henrik
This is apparently still not fixed. It's in our bug database, but not solved.

amacleod
Getting strange characters when reading from an rss feed:
ex:     And Members watch today’s show on Youtube!
I assume its utf8 characters that r2 can't handle...
Using Chris's altxml.r to parse the feed.
When I have had this problem with some texts conversion before I was able to replace/all the offending letters with the appropiate ascii ones but it does not seem to work in this situation.
PeterWood
You can use the utf-8-to-win-1252 function in http://www.rebol.org/view-script.r?script=str-enc-utils.r to convert from UTF-8 encoding to Windows-1252 codepage.
amacleod
Will try it, thanks Peter. Did not know about it...it will come in handy...

Rebolek
I have trouble reading data from CGI using POST on R3. I try to upload an image using POST then on server I use data: read system/ports/input to get the POST data, but it seems that the data are truncated. There doesn't seem to be some specific boundary where the data are truncated, I'm uploading images in range from cca 15-200kB, the resulting data are few hundreds to few tens of kB long, so there's no artificial boundary like 32'000 bytes. Anyone has any experience with getting data from POST?
PeterWood
Is that with Rebol 2 or 3 Bolek?
Rebolek
Rebol3
The most frustrating is, that the same file will throw different results. Right now I'm testing with small 3,5kB PNG file, sometimes I get full file, sometimes just few hundred bytes...there's no pattern what the result will be.
Bo
Are you sure that the PNG file you are reading is complete and not being overwritten at the source (like from a webcam)?
Rebolek
No, it's complete. It's file on local computer I made just for testing.
Bo
I see you posted a question on SO and it looks like there's an answer.

Rebolek
Yes, I'm going to try it, I hope it would work, seems like it should.
Rebolek
So it doesn't work for me. Reading no data from system/ports/input does not throw an error but waits for data forever (at least it looks like forever, it has been five minutes already so it's useless as an image uploader).
Bo
Have you tried checking the system timeout for network reads?

sqlab
Where are bytes missing, only at the end or also middle in the image?
Bo
I'm pretty sure they are only missing at the end.

Rebolek
Yes, at the end. I will try putting some simple PHP uploader on the same server to make sure it's not Apache's fault and let you know about the results.

Cyphre
Just a note about the CGI/POST issue. I've checked with Reboek a bit  on that and it looks the CGI mode is not yet fully implemented in R3 nor tested  (there are some issues on  both Linux and Win platforms). Someone interested in that feature needs to fix that ;-)
Rebolek
To be precise, someone with interest in that feature AND C-knowledge :-)

Ladislav
https://en.wikipedia.org/wiki/Rebol is currently under attack by a disruptive editor

Last message posted 112 weeks ago.