Consultor Eletrônico



Kbase P41700: Will the database size double for a DBE?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/23/2005
Status: Unverified

GOAL:

Will the database size double when converted from a Single byte database to a Double Byte Enabled database?

GOAL:

Does converting a Single byte database to a Double byte database increase the database size?

GOAL:

Will converting a database to Chinese increase the database size?

FIX:

UTF-8 uses 1 byte to describe the code page, and 1 to 2 bytes to display the character. UTF-8 assumes English as the default thus does not require the 1 byte to describe the code page.

When converting a single byte database to double byte the data contained in the database will remain single byte, therefore it will only take a single byte to display. The database will grow when multibyte data is added to the database. Although using the additional bytes to describe a particular letter, number, or punctuation due to the language display differences the database will not grow.

As an example in Chinese the word good can be displayed in one character.