[I18n-sig] Unicode experience
Toby Dickenson
tdickenson@geminidataloggers.com
Fri, 07 Jul 2000 10:53:39 +0100
- Previous message: [I18n-sig] The Western Web has just finished our new classified ad section. Please check it out and make sure that your classified ad has been moved. We are in the process of moving ads at this time, but would appreciate your help to insure that if your ad has been moved. If it hasn't been moved or you would like to place a new ad feel free to do so. We have added new sections in the classifieds, hay/feed/shavings, livestock, camelids, cattle, deer and elk, poultry, rabbits, sheep, livestock equipment, swine, donkeys, dogs and mules. We are currently receiving 100 new ads a day, and over 20,000 unique hits a day.
- Next message: [I18n-sig] Unicode experience
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
I'm just nearing the end of getting Zope to play well with unicode
data. Most of the changes involved replacing a call to str, in
situations where either a unicode or narrow string would be
acceptable.
My best alternative is:
def convert_to_something_stringlike(x):
if type(x)=3D=3Dtype(u''):
return x
else:
return str(x)
This seems like a fundamental operation - would it be worth having
something similar in the standard library?
Toby Dickenson
tdickenson@geminidataloggers.com
- Previous message: [I18n-sig] The Western Web has just finished our new classified ad section. Please check it out and make sure that your classified ad has been moved. We are in the process of moving ads at this time, but would appreciate your help to insure that if your ad has been moved. If it hasn't been moved or you would like to place a new ad feel free to do so. We have added new sections in the classifieds, hay/feed/shavings, livestock, camelids, cattle, deer and elk, poultry, rabbits, sheep, livestock equipment, swine, donkeys, dogs and mules. We are currently receiving 100 new ads a day, and over 20,000 unique hits a day.
- Next message: [I18n-sig] Unicode experience
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]