3 ms·
"Which is why, incidentally, Arc only supports Ascii." Is this why unicode is absolutely broken on ycnews? :( Seems a shame not to be even to use characters li
by axod 19y ago
"Which is why, incidentally, Arc only supports Ascii."
Is this why unicode is absolutely broken on ycnews? :( Seems a shame not to be even to use characters like pi in comments/titles IMHO Does a pound sign work? GBP
edit: no it doesn't. Seriously, if done right unicode support doesn't have to take that long. Especially if you're building something without the need for backward compatibility.
Just my 2c.
- mechanical_fish 19y agoNow is your chance. The source code is just sitting there. ;)
- axod 19y ago1. Spend time fixing major deficiency in language that prevents it from being usable. 2. Use language. Maybe I'm being harsh :) I'm sure it's great really, but these days people expect unicode support on websites.
- far33d 19y agoThese days, most people don't even know/care what Unicode is.
- Hexstream 19y agoThese days, most people don't even know/care what functional programming is.
- axod 19y agoWhat??? I kinda like being able to talk about things as fundamental as money, without having to use (GBP). I'd like to use currency symbols for a start, what about math? I'd like to use pi occasionally. How about I want to add a nice 'tm' or (c) sign. People care if a website is using correct unicode characters or not. Perhaps they don't know/care because the majority of websites now are unicode, and just work.
- far33d 19y agoCoders care, users don't. Just like they don't care about tables used for layout.
- axod 19y agoUsers care if their name is zoe (with an accent on the e), or if they want to discuss prices of things in euros or GBP. I wrote a php forum a while back. You wouldn't believe the number of emails telling me that the gbp sign doesn't show up properly when they post a comment.
- ashu 19y agoEven if the users don't care (although they very much do when their characters all show up jumbled), the conversation here in this thread _is_ very much about the coders. Saying unicode is irrelevant is pretty strong in this context and IMHO, pretty bizarre.
- bayareaguy 19y agoYes, but they get peeved when cut+paste doesn't work the way they expect.
- ashu 19y agoYah, I can see how it sucks but unfortunately that's the way it will have to be for Arc given PG's disinclination to spend time over it. If you end up contributing a unicode fix, who knows, it might even get incorporated and others will thank you as well :)
- richcollins 19y agoIo has a nice, simple solution for character encoding: http://iolanguage.com/scm/git/checkout/Io/docs/guide.html#TOC31637 http://iolanguage.com/scm/git/checkout/Io/docs/guide.html#TO... Perhaps arc could use the same approach.
- vdm 19y agoSummarising: > In Io, symbols, strings, and vectors are unified into a single Sequence prototype which is an array of any available hardware data type > A String is just a Sequence with a text encoding, a Symbol is an immutable String and a Vector is a Sequence with a number encoding. Pretty cool. Thanks for the link.
- iamelgringo 19y agoDudes, really... PG just released an entirely new dialect of lisp for web programming, he's mentoring about 20 startups right now, and runs Hacker News... "Oh, and can you add Unicode support, it would only take 2 or 3 days..." I know that not having Unicode supported in your web language is inconvenient, and at times is a show-stopper. But really. Give the guy a break. If PG doesn't want to "spend a single day on character sets". Don't ask him to spend a day on character sets. If you want Unicode support in Arc, code it up and submit it.
- shiro 19y agoIMHO, it's not an issue of implementation. It's an issue of design. If PG explicitly says "ok, I don't have time to do Unicode stuff now, but my idea is that a string is a sequence of characters, regardless of how a 'character' is represented", then somebody can go ahead to change Arc Unicode-clean (it won't be much work assuming MzScheme has support of Unicode). If PG says "the language Arc (not mere an implementation) doesn't support beyond Ascii", then I feel that PG reserves that part of design (e.g. it may conflate byte-array and multibyte strings, or it may use richer character representation than unicode codepoint, such as a character object that holds the sequence of base char + modifiers, or it may hold raw byte array plus encoding info). In that case I hesitate to change Arc code without understanding PG's intention.
- hollerith 19y agoBy the same logic, commenters should be able to put arbitrary HTML in their comments. Very large font sizes. Blink tags. After all, HTML support does not have to take that long: just pass the HTML straight through to the browser. If commenters could use very large fonts and blink tags here, do you not believe that some of them would? The freedom of the citizen of Hacker News to express himself is being suppressed! Paul Graham, add support for blink tags now!
- axod 19y agoI don't think expressing yourself in your own language using your own currency symbols is quite the same as using html. Nice try, but no.
- hollerith 19y agoI was talking about this place, news.yc, not about Arc programs in general. Of course a place for Spanish speakers or Chinese speakers is going to support the charset for that language. I _hope_ we can agree that we do not want comments in languages other than English in this place.