i need help, i'm trying to attach through **civicrm\_api3('Attach', 'create'..)** a **pdf** file, passed with a rest call as simply text:

```
%PDF-1.3
1 0 obj
<< /Type /Catalog
... ecc

```

.
The attach works, but i thing that during it, the crm's file save function make an escape of some special chars... the results of content of pdf file is:

```
%PDF-1.3
1 0 obj
&lt;&lt; /Type /Catalog
... ecc

```

there is a way to avoid this behavior?

thanks