Ken,
Great suggestions so far--I have just one thing to add.
If you ever reach the point at which you find yourself examining code tables to figure out what character set something is using, you might also want to find a good hex editor so that you can examine your data byte by byte. Since what you're looking at otherwise is always going to be the data as interpreted by a particular program (email program, web browser, text editor), looking at it with a hex editor can give you a nice grounding in reality, without that extra layer of interpretation.
I use XVI32: http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm
Jason Thomale
Metadata Librarian
Texas Tech University Libraries
> -----Original Message-----
> From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of
> Ken Irwin
> Sent: Wednesday, December 16, 2009 11:02 AM
> To: [log in to unmask]
> Subject: [CODE4LIB] character-sets for dummies?
>
> Hi all,
>
> I'm looking for a good source to help me understand character sets and
> how to use them. I pretty much know nothing about this - the whole
> world of Unicode, ASCII, octal, UTF-8, etc. is baffling to me.
>
> My immediate issue is that I think I need to integrate data from a
> variety of character sets into one MySQL table - I expect I need some
> way to convert from one to another, but I don't really even know how to
> tell which data are in which format.
>
> Our homegrown journal list (akin to SerialsSolutions) includes data
> ingested from publishers, vendors, the library catalog (III), etc. When
> I look at the data in emacs, some of it renders like this:
> Revista de Oncolog\303\255a [slashes-and-digits
> instead of diacritics]
> And other data looks more like:
> Revista de Música Latinoamericana [weird characters instead of
> diacritics]
>
> My MySQL table is currently set up with the collation set to: utf8-bin
> , and the titles from the second category (weird characters display in
> emacs) render properly when the database data is output to the a web
> browser. The data from the former example (\###) renders as an "I don't
> know what character this is" placeholder in Firefox and IE.
>
> So, can someone please point me toward any or all of the following?
>
> · A good primer for understanding all of this stuff
>
> · A method for converting all of my data to the same character
> set so it plays nicely in the database
>
> · The names of which character-sets I might be working with
> here
>
> Many thanks!
>
> Ken
|