Sunday, 29 January 2017

​Code page in file:UTF-8 not compatible with repository code page: MS1252

Problem:

​​
Code page in file:UTF-8 not compatible with repository code page: MS1252
Error encountered while Parsing file


Reason:

This happens when we try to import UTF-8 Code page object to MS1252 Code Page


Solution: Have to Update Encoding and Code Page Details in the XML

Actual File:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE POWERMART SYSTEM "powrmart.dtd">
<POWERMART CREATION_DATE="01/27/2017 12:31:55" REPOSITORY_VERSION="184.93">
<REPOSITORY NAME="RS_etlprod" VERSION="184" CODEPAGE="UTF-8" DATABASETYPE="Oracle">

Update it Like below and Try importing the XML in Repo Manager: 

<?xml version="1.0" encoding="Windows-1252"?>
<!DOCTYPE POWERMART SYSTEM "powrmart.dtd">
<POWERMART CREATION_DATE="01/27/2017 12:31:55" REPOSITORY_VERSION="184.93">
<REPOSITORY NAME="RS_etlprod" VERSION="184" CODEPAGE="MS1252" DATABASETYPE="Oracle">



No comments:

Post a Comment