Full UTF8 support

From TempusServa wiki
Revision as of 12:02, 21 May 2021 by old>Admin (Created page with " == Special characters causing errors == === Problem === The default support for UTF8 is 3 byte. Using 4 byte UTF can cause errors, that looks like java.sql.SQLExceptio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Special characters causing errors

Problem

The default support for UTF8 is 3 byte.

Using 4 byte UTF can cause errors, that looks like

  java.sql.SQLException: Incorrect string value: '\xC2\x96 Z. ...' for column 'NOTES' at row 1

Solution

Update the database to full UTF8 support using the following command

  main?command=dk.p2e.blanket.codeunit.common.PageConvertDatabaseToUTF8

Note an administration profile is needed to complete the operation.