[ic] IC 5.7.4 , GDBM & UTF8

Gert van der Spoel gert at 3edge.com
Wed Dec 30 22:42:37 UTC 2009


Does anybody have a working setup with Interchange, GDBM and UTF8?

I have the following situation:
- locale.txt  -> UTF8
- pages with includes (textfiles) -> UTF8

Scenario 1)

catalog.cfg  contains:
Variable MV_HTTP_CHARSET UTF-8
Variable MV_UTF8 1
DatabaseDefault GDBM_ENABLE_UTF8 1

- remove locale.gdbm
- start interchange
- creates locale.gdbm

Result: includes are displayed correctly .. data from locale.gdbm  is not

Scenario 2)
catalog.cfg  contains:
Variable MV_HTTP_CHARSET UTF-8
Variable MV_UTF8 1

- remove locale.gdbm
- start interchange
- creates locale.gdbm

Result: includes are displayed correctly .. data from locale.gdbm  is not

Scenario 3)
catalog.cfg contains:
Variable MV_HTTP_CHARSET UTF-8
Variable MV_UTF8 1
DatabaseDefault GDBM_ENABLE_UTF8 1

- keep locale.gdbm from Scenario 2)
- start interchange
- NO new locale.gdbm created, old one still there

Result: includes and data from locale.gdbm are displayed correctly


So in order to get my GDBM data to be displayed correctly after an update to
my .txt file
is to disable DatabaseDefault GDBM_ENABLE_UTF8 1 , start interchange, then
change
my cfg to enable DatabaseDefault GDBM_ENABLE_UTF8 1  and restart
interchange.

Can anybody reproduce this?

CU,

Gert




More information about the interchange-users mailing list