Re: [CODE4LIB] newbie
On Wed, 24 Mar 2010 17:51:38 -0400, Mark Tomko mark.to...@simmons.edu wrote: I wouldn't recommend PHP to learn as a programming language, if your goal is to have a general purpose programming language at your disposal. PHP is a fine language for building dynamic web pages, but it won't help you to slice and dice a big text file or process a bunch of XML or do some other odd job that you don't want to do by hand. To be precise, PHP can indeed do these kind of things, particularly in command line mode. I certainly don't recommend it, but if you're used to PHP for other reasons, and you already have it available to you, you can do 'odd jobs' with PHP. You can also use your teeth to open a tight bottle cap, the edge of a knife as a screwdriver, and duct tape to perform auto repairs. Brian
Re: [CODE4LIB] character-sets for dummies?
When you see these kind of errors: Revista de Música Latinoamericana[weird characters instead of diacritics] if you can look at the data in a web browser it can be used as a tool to help you identify the correct encoding. Web browsers usually render character sets based on whatever appears in this line in the HTML source: meta http-equiv=content-type content=text/html; charset=UTF-8 but most browsers allow you to force a different character encoding, so if something is rendering incorrectly you can use browser display options to try to find the correct set. It would be under something like View Encoding (whatever). I find Opera to be great for this because I was able to add a handy button to quickly cycle through the most common encodings. Of course, web browsers in general might not grok MARC-8, but you get the idea. Brian Stamper The Ohio State University Libraries Scholarly Resources Integration 610 Ackerman Road Rm. 5833 Columbus, OH 43202-4500