World: r4wp
[#Red] Red language group
older newer | first last |
DocKimbel 26-Apr-2013 [7308x3] | Kaj: I think you're right about the console, it handles correcty only ASCII input. |
For: print read "http://syllable.org", do you feed string/load with an UTF-8 input even on Windows? | |
With the only function in Red that supports Unicode: string/load Red string! is fully supporting Unicode. Your issue is related to I/O and Red has no support for that yet (except for the currently hardwired stdout). | |
Pekr 26-Apr-2013 [7311] | Doc, would you mind, if I would, from time to time, republish some of your tweets or other stuff on FB channel? I can still believe it has some value, maybe I am just used to the FB ... |
DocKimbel 26-Apr-2013 [7312] | Franckly, I've reached my limit wrt to communication channels. Also it would be counter-productive to me to do such tasks, I see no reason why it couldn't be done by someone else? |
Gregg 26-Apr-2013 [7313] | I think having comm lieutentants is a good idea. |
DocKimbel 26-Apr-2013 [7314] | Yes, that would be helpful. |
Pekr 26-Apr-2013 [7315] | OK, I'm on it :-) |
Kaj 26-Apr-2013 [7316x3] | Petr, I'm not pressed for time, except for my career in general. I only posted examples because Doc asked for them |
I'm only pushing in so far as I have been inquiring about encoding support for several weeks, and the state of things has been downplayed, so I want it to be noted | |
Further, I'm working Unicode conversions directly into my I/O routines, so I need to know how Red currently functions and what the future plan is | |
Pekr 26-Apr-2013 [7319] | ok, fair enough. I believe that Doc would wish Red development would go faster, but there's only 24 hourse per day, we know :-) |
Kaj 26-Apr-2013 [7320x2] | For example, there's an internal single byte encoding that's marked "Latin1", but I now know there is no way to get Latin-1 data in or out, so I wonder if this encoding will ever be used for more than 7-bit ASCII |
Yes, that's why I've been helping with the coding for over two years | |
Pekr 26-Apr-2013 [7322] | yes, and as a contributor, you have been surely noticed :-) I am still somehow satisfied with how Red development goes, eg. even in comparison with R3. Nothing against R3, I wish Cyphre takes us to Android, but for general purpose needs, untill R3 gets protocols, multiline console, etc, stuff noticed on SO, it is no go for me. So, I keep my fingers crossed as far as Red development goes - it is nice to have a strong leader around ... |
Kaj 26-Apr-2013 [7323] | I'd better not comment on the Git issue, because it will be considered unconstructive :-) |
Andreas 26-Apr-2013 [7324] | Especially as it had nothing to do with Git, yes. |
Kaj 26-Apr-2013 [7325] | See? |
Andreas 26-Apr-2013 [7326] | As far as I understood the plan, the internal "Latin 1" encoding is used to store Unicode codepoints 0-255. So this should be used already. |
DocKimbel 26-Apr-2013 [7327x2] | Kaj: why don't you open a ticket with a code example on github if something is broken or not working as advertised? I thought that was our process to get issues solved. |
Andreas: that's what is supposed to be implemented, but now I have a doubt about it. Will need to check the code tomorrow. | |
Kaj 26-Apr-2013 [7329x2] | Because you said it's not a priority and because I'm trying to ananlyse and fix things myself first. I'm just reporting my findings |
Actually, I did one test that confirms Andreas' statement. The only way to get 8-bit data in is to compile a UTF-8 string literal that fits into Latin-1 | |
Andreas 26-Apr-2013 [7331] | Sounds like it works as advertised, then. |
Kaj 26-Apr-2013 [7332x2] | No, the console says you can input Latin-1, and you can't, not even through UTF-8 |
Neither can you compile Latin-1 nor read Latin-1 files nor other source data | |
Andreas 26-Apr-2013 [7334] | I didn't see the latter claimed anywhere. |
Kaj 26-Apr-2013 [7335] | See above |
Andreas 26-Apr-2013 [7336] | Labelling the internal storage format "Latin 1" may be slightly misleading, though. |
Kaj 26-Apr-2013 [7337] | -=== Red Console alpha version ===- (only Latin-1 input supported) red>> s: "Espaņol" == "Espa" red>> length? s == 4 |
Andreas 26-Apr-2013 [7338x2] | Console and compilation are two separate things. |
I didn't see a claim anywhere, that you can compile Latin 1 sources. | |
Kaj 26-Apr-2013 [7340] | Yes, and neither works, so there is no Latin-1 support at all, except in a corner case internally |
Andreas 26-Apr-2013 [7341] | The "internal corner case" is no Latin1 support either. It's purely Unicode support, with a more efficient internal storage. |
Pekr 26-Apr-2013 [7342] | If Kaj is top Red user, maybe the priorities could be adjusted then? Depends on Doc, though ... |
Kaj 26-Apr-2013 [7343] | Yes, and as you say, it's mislabeled Latin1, so there were several thing leading me to believe that Red already had Unicode and Latin-1 support |
Andreas 26-Apr-2013 [7344] | I don't say that it is mislabeled, I say that it might be misleading. |
Kaj 26-Apr-2013 [7345x2] | Indeed, it it misleads me, I don't see why not everyone would fall over Red if we present it to the public |
But if you all would prefer me not inform you of my findings, perhaps I should go back to working in silence? | |
Andreas 26-Apr-2013 [7347x2] | Didn't say anything to that effect, and it's not what I'm thinking either. |
So the claim that the console supports Latin1 seems to be incorrect. | |
Kaj 26-Apr-2013 [7349] | Yes, that's why I reported relabeling my console versions |
Gregg 26-Apr-2013 [7350] | Let's give Doc a couple days to recover from pic-emitter, and I'm sure he'll clarify things. |
Andreas 26-Apr-2013 [7351] | Other than that incorrect claim, there's no Latin1 support in Red whatsoever. |
Kaj 26-Apr-2013 [7352] | Exactly |
Gregg 26-Apr-2013 [7353x2] | These issues are all important to know about, but it's easy to misread intent in text. |
I think we're all on the same page, if not the same code page. | |
Kaj 26-Apr-2013 [7355] | So for most purposes, Red is currently ASCII only |
Andreas 26-Apr-2013 [7356] | Well, Unicode is still working as advertised. |
Kaj 26-Apr-2013 [7357] | No, I've reported those issues the weeks before, and I'm working on fixing some of them, after Peter's work |
older newer | first last |