My Oracle Support Banner

Prefix 'UTF-8' Is Inserted in the Notebook Topic Description Using P6 Web Services (Doc ID 2621162.1)

Last updated on JANUARY 12, 2021

Applies to:

Primavera Web Services - Version 18.8 and later
Information in this document applies to any platform.

Symptoms

When using P6 Web Services to create Notebook Topics, UTF-8 is prefixed to the string. This issue only occurs when using SQL Server.

STEPS TO REPRODUCE:
1. Run code like the following:
    List<ProjectNote> projectNotes = new ArrayList<>();
    projectNote.setNote("Planning");
    projectNote.setNotebookTopicObjectId(Integer.parseInt(projectNoteObjectId.trim()));
    projectNote.setProjectObjectId(projectObjectId);
    projectNotes.add(projectNote);
    projectNotePortType.createProjectNotes(projectNotes);

2. Query the WBSMEMO table and the wbs_memo field appears with 'UTF-8' appended (e.g. "UTF-8Planning").

3. Login to P6 and the string also appears with 'UTF-8' prefixed to the notebook description.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.