On Thursday, October 21, 2010 10:23:40 am Ed Leafe wrote: > On Oct 21, 2010, at 1:17 PM, John Fabiani wrote: > > How does this work if the database is saving English and the app is > > written in Spanish. > > Encoding has nothing to do with language. It is simply a method of > representing characters that can take up more than one byte of storage. > One byte can specify up to 256 different characters, and since there are > many more potential characters than that, a system for encoding those > characters into byte streams is needed. "utf8" is the most popular system, > but there are others. The important thing is that when reading back the > byte stream, either from disk or from a database, you have to decode those > bytes to get back the original characters. > > > > -- Ed Leafe
Yes I understand what you have said. I'm looking at it in a much more basic way. So let me say it in a different way. If the app is setup to use utf8 and the data is not. What happens? I believe Paul's question is should the app follow the database encoding or be set in the app. So I'd like to know what happens when there are two different encodings. Johnf _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
