Unicode in Excel files

2007-03-21 Thread John Machin
On Mar 21, 11:37 am, Carsten Haese [EMAIL PROTECTED] wrote:
 On Tue, 2007-03-20 at 16:47 -0700, Gerry wrote:
  I'm still mystified why:
 qno was ever unicode,

 Thus quoth http://www.lexicon.net/sjmachin/xlrd.html This module
 presents all text strings as Python unicode objects.


And why would that be? As the next sentence in the referenced docs
says, From Excel 97 onwards, text in Excel spreadsheets has been
stored as Unicode.

Gerry, your Q1 string was converted to Unicode when you wrote it
using pyExcelerator's Worksheet.write() method.

HTH,
John



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Unicode in Excel files

2007-03-21 Thread Gerry
On Mar 21, 6:07 am, John Machin [EMAIL PROTECTED] wrote:
 On Mar 21, 11:37 am, Carsten Haese [EMAIL PROTECTED] wrote:

  On Tue, 2007-03-20 at 16:47 -0700, Gerry wrote:
   I'm still mystified why:
  qno was ever unicode,

  Thus quothhttp://www.lexicon.net/sjmachin/xlrd.htmlThis module
  presents all text strings as Python unicode objects.

 And why would that be? As the next sentence in the referenced docs
 says, From Excel 97 onwards, text in Excel spreadsheets has been
 stored as Unicode.

 Gerry, your Q1 string was converted to Unicode when you wrote it
 using pyExcelerator's Worksheet.write() method.

 HTH,
 John

John,

   That helps a lot.  Thanks again!

   Gerry

-- 
http://mail.python.org/mailman/listinfo/python-list