in reply to GUIDs returned as gibberish (ODBC/MS SQL)

It looks like an encoding issue.

Something in the chain (database data, database server, client, DBD::ODBC, your program) thinks the data is in some multi-byte format 'Unidcode, UTF-16, ...) and rendering it as such.

What happens if you read another field?

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re: GUIDs returned as gibberish (ODBC/MS SQL)