#rubyonrails - Sat 31 Mar 2007 between 14:17 and 14:38

NY Lost Funds



fjshchrislo: I know there are massive ones. i just seems to take a few decades before you can take advantage of them :P
Iconv.conv is still complaining by the way.. I've removed the dashed and changed ISO to iso.. what more do I need?
chrislofjsh: a few decades well spent !
fjshchrislo: haha :D
chrislofjsh: good luck with your website, i'm off now.
bye !
fjshsee ya
and thanks :)
hhaamufjsh, what's your whole method call?
fjshat the moment, it looks like this: Iconv.conv("ISO8859-1", "IIRC", string)
hhaamu"IIRC" is not an encoding...
fjshbut it's complaining about ISO8859-1?
wait
maybe not
hhaamuI personally don't quite like the way iconv.so binds to ruby, so I tend to write it a simple wrapper method for more intuitive calling
class String; def conv (from, to); Iconv.iconv(to, from, self).first; end; end
so you can call it "string here".conv('iso8859-15', 'utf-8')
fjshbrb
zapnapsounds like a silly question, but... anyone know why i can't get a snag the list of <a> tags using hpricot?
any other tag seems to work fine, but it won't return a list of anchors if i do doc.search("a")
fjshokay, I am now converting anything utf8 to ISO-8859-1 with Iconv.conv("ISO8859-1", "UTF8", string), and I'm still getting question marks
and I changed to charset=iso-8859-1 on the web page
zapnapthat IS valid css, right??
i know id is used in anchors for relative document links too, so i'm assuming that's also valid css ;)
valehruhey guys, i want one column in a table to display chinese characters...whats the best encoding to use?
zapnapinterestingly, when i look at how hpricot parses the doc, it doesn't seem to declare an element for the anchor... this is bizarre
{elem <title> "test" </title>} "\n" </head>} "\n" {elem <body> "\n hrmm...\n <A href=\"h ...
wtf ??
roygbivvalehru i don't know but i hope utf-8 would do it for you. i'd bet it has the broadest browser support outside of 8859 and ascii
hhaamuvalehru, utf8, but gb18030 or euc-cn might do the trick
valehruthanks guys.
I just define it as utf8 in the application controller right?
as well as the column in the db?
hhaamuwhy the heck can you select a separate encoding for a column?
valehruwhy can you? well I would imagine that if you needed multiple languages in a table it might be helpfull..
Chinese has multiple encodings...
im not chinese by the way...Irish all the way :)
hhaamuthere's a solution for that. unicode.
valehrutrue...but when the encodings were initially devised there was not much forsight used
hindsight is great... :)

Page: 1 8 15 22 29 36 43 50 57 64 71 78 

IrcArchive

NY Lost Funds