Skip to content

File upload Problem with Encoding #334

@ads69

Description

@ads69

Hi,
I have made something based on the file Upload sample and no problem when uploading binary files like pictures.
When I try to upload a specific pdf file I get this error :

No mapping for the Unicode character exists in the target multi-byte code page>

the code I use is the same
lFile := TFile.Create(lFName); lFile.CopyFrom(Context.Request.Files[0].Stream, 0);
Any idea ?

Best regards

Metadata

Metadata

Assignees

Labels

acceptedIssue has been accepted and inserted in a future milestone

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions