ron
Member
OE 10.2B, RH
I have rather little experience working with UTF-8 databases - and I've hit some trouble.
I am working in a test environment and I've done this:
1. Taken a probkup online of a running DB that uses UTF-8.
2. Created a new structure file testdb.st.
3. Done prorest testdb ./test.bkp -cpinternal UTF-8, and the restore is successful.
4. If I try to run proutil testdb -C idxbuild I get this error:
Use "-cpinternal UTF-8" with idxbuild only with a UTF-8 database. (8557)
I can start-up the testdb database with proserve - and the log shows:
(4264) Character Set (-cpinternal): ISO8859-1.
Clearly I have a code-page mismatch - but I don't understand why. If I restored specifying UTF-8, why is the DB not UTF-8? And - what makes idxbuild "think" that -cpinternal UTF-8 should apply? (In other words, where does it "see" UTF-8?)
Ron.
I have rather little experience working with UTF-8 databases - and I've hit some trouble.
I am working in a test environment and I've done this:
1. Taken a probkup online of a running DB that uses UTF-8.
2. Created a new structure file testdb.st.
3. Done prorest testdb ./test.bkp -cpinternal UTF-8, and the restore is successful.
4. If I try to run proutil testdb -C idxbuild I get this error:
Use "-cpinternal UTF-8" with idxbuild only with a UTF-8 database. (8557)
I can start-up the testdb database with proserve - and the log shows:
(4264) Character Set (-cpinternal): ISO8859-1.
Clearly I have a code-page mismatch - but I don't understand why. If I restored specifying UTF-8, why is the DB not UTF-8? And - what makes idxbuild "think" that -cpinternal UTF-8 should apply? (In other words, where does it "see" UTF-8?)
Ron.