> For the complete documentation index, see [llms.txt](https://documentation.efalia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.efalia.com/produit/efalia-compose/mapping-suite/onyx-server/utilisation/comment-prendre-en-entree-un-fichier-pcl-encode-en-utf-8.md).

# Comment prendre en entrée un fichier PCL encodé en UTF-8

## Introduction

Par défaut MAPPING est compatible juste avec des flux PCL encodés en ANSI. Il est possible avec MAPPING de prendre un fichier **pcl encodé en UTF-8** en entrée afin de le convertir en XPS, PDF ou autres.

## Paramétrage

Pour forcer le convertisseur à prendre en entrée un PCL UTF-8, nous devons utiliser le paramètre suivant : (dans un profil ou avec le paramètre -param )

```
<decodeutf8>ON</decodeutf8>
```

Ce paramètre est utilisé uniquement lors de la conversion fromPCL to XPS.

Il peut quand même être renseigné dans un profil toPDF

## Exemples

### Conversion d’un fichier PCL(UTF-8) en XPS via un profil de conversion

```
<xps>
   <label>XPS</label>
   <language>XPS</language>
   <decodeutf8>ON</decodeutf8>
 </xps>
```

Exécution de la commande :

```
/apps/mapping/bin/map_xps "-fromPCL" "-toXPS" "-infile:/apps/mapping/infile/infile.pcl" "-outfile:/apps/mapping/results/out/out.xps" "-profile:xps"
```

### Conversion d’un fichier PCL(UTF-8)en XPS sans profil de conversion

Exécution de la commande :

```
/apps/mapping/bin/map_xps "-fromPCL" "-toXPS" "-infile:/apps/mapping/infile/infile.pcl" "-outfile:/apps/mapping/results/out/out.xps" "-param:decodeutf8=ON"
```

### Conversion d’un fichier PCL(UTF-8) en PDF via un profil de conversion

Afin d’éviter de passer par un profil de conversion en XPS puis en PDF, il est possible de mettre la valeur decodeutf8 à ON directement dans le profil de conversion PDF :

```
 <pdf>
   <label>PDF</label>
   <language>PDF</language>
   <decodeutf8>ON</decodeutf8>
 </pdf>
```

Exécution de la commande :

```
/apps/mapping/bin/map_xps "-fromPCL" "-toXPS" "-infile:/apps/mapping/infile/infile.pcl" "-outfile:/apps/mapping/results/out/out.xps" "-profile:pdf"
```

### Conversion d’un fichier PCL(UTF-8)en PDF sans profil de conversion

Exécution de la commande :

```
/apps/mapping/bin/map_xps "-fromPCL" "-toPDF" "-infile:/apps/mapping/infile/infile.pcl" "-outfile:/apps/mapping/results/out/out.xps" "-param:decodeutf8=ON"
```

mots clés:conversion PCL, PCL UTF8, PCL UTF-8, from PCL, fromPCL, convertion PCL, conversion from PCL, conversion de PCL, conversion from PCL, comment convertir un pcl UTF8, how to convert a UTF-8 PCL


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.efalia.com/produit/efalia-compose/mapping-suite/onyx-server/utilisation/comment-prendre-en-entree-un-fichier-pcl-encode-en-utf-8.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
