Thanks for the insights guys.

I was already suspicious about the whole requirement, because I had a feeling 
this was not correct.

After discussing again with the customer, it became clear that there was an 
error in communication. 
It’s the old dutch / French thing in Belgium, especially if one uses English as 
a way of understanding each other ;-)

Their firewall is set to receive UTF-8 only, but that doesn’t mean that we 
can’t send files that are encoded differently, as long as they are correctly 
embedded in a multiform/data HTTP request.
So I just needed to correctly state everything in the multiform data that is 
being passed to their API…


Regards,

Rudy Mortier
Two Way Communications bvba 



> On 14 Jan 2020, at 04:59, Keisuke Miyako via 4D_Tech <[email protected]> 
> wrote:
> 
> alternative solutions for guessing plain text encoding
> 
> https://opensource.google/projects/ced
> 
> also
> 
> https://github.com/miyako/4d-plugin-text-convert
> 
> 
> $err:=CP Get good encodings ($euc;$codepages)
> 
> 
> $err:=ICU Get good encodings ($euc;$encodings;$languages;$confidences)
> 
> but I agree with Koen, to request UTF-8 “encoding” for PDF seems like a 
> misunderstanding by the end user.
> 
> I know Adobe Acrobat phrases it that way
> 
> https://helpx.adobe.com/acrobat/using/file-format-options-pdf-export.html
> 
> but in reality, PDF has an embedded font mapping system for rendering,
> which makes “text encoding” kind of irrelevant for rendering.
> you might have seen PDF that display fine but copy and paste or searching is 
> garbage.
> I think that it the scenario the user want’t to avoid.
> 
> 2020/01/14 2:35、Koen Van Hooreweghe via 4D_Tech 
> <[email protected]<mailto:[email protected]>>のメール:
> FWIW, BBEdit also guesses what the text file encoding could be. It does a 
> good job, but it can be fooled.
> 
> 
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to