X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) X-Junk-Score: 0 [] X-KAS-Score: 0 [] From: "Paul Hoadley" Received: from wout4-smtp.messagingengine.com ([64.147.123.20] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.3) with ESMTPS id 25751453 for webobjects-dev@wocommunity.org; Wed, 21 Apr 2021 01:16:28 +0200 Received-SPF: none receiver=post.selbstdenker.com; client-ip=64.147.123.20; envelope-from=paulh@logicsquad.net Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 4A0FE961 for ; Tue, 20 Apr 2021 19:16:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 20 Apr 2021 19:16:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=QLTiY4 oTl12D2RBscmIZTdZn4q0fD6LyXvvfCWGCPPI=; b=CrtXoLtX89oYxfdBwx26fr MCs/qP5zGm5CupAEOj3RWbn30i04ntmpLQK/dhHw1V+LvBE60VUD+xjFNGRFs4/V BLSNT0UNrYdgYRH/FeZGbRycdlqM4ct2fJfWH0V2FfPHTLKSaJ7qaZ1o4zN6uLSY jNRNRR8q2USTJWcpMVapBj09LuO2PYldIgGjwCgWOfEYnFjo34pOCJll3AwAJdYt +wVjQMxshfiKSGWlnapLqc/h82wp+9thGFysB7Mupd/pcU7NMSAZRDLC0gdRZptL t2eETm4D3X0FGSXotya+IEe2XzEbz46XSIdZMQSq5HjcLeCum5tL5y7G6ZB8a6nA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtjedgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfgtggfuffhfvfgjkffosegrtdhmrehhtdejnecuhfhrohhmpefrrghulhcu jfhorggulhgvhicuoehprghulhhhsehlohhgihgtshhquhgrugdrnhgvtheqnecuggftrf grthhtvghrnhepvdevveevgeegleffueeigfevteffiefgkeefffdvtedvtdelffevgeej udeiuddtnecuffhomhgrihhnpehimhhplhdrihhopdhlohhgihgtshhquhgrugdrnhgvth dplhhinhhkvgguihhnrdgtohhmnecukfhppedvtdefrddvudejrddutddrvdegleenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehprghulhhhse hlohhgihgtshhquhgrugdrnhgvth X-ME-Proxy: Received: from [192.168.10.100] (203-217-10-249.perm.iinet.net.au [203.217.10.249]) by mail.messagingengine.com (Postfix) with ESMTPA id 9BF68240057 for ; Tue, 20 Apr 2021 19:16:04 -0400 (EDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_53504128-A031-418D-9A40-7BE4A48FF7F7" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: [WO-DEV] ERPDFGeneration ... > Beispiel Date: Wed, 21 Apr 2021 08:45:58 +0930 References: To: WebObjects & WOnder Development In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.17) --Apple-Mail=_53504128-A031-418D-9A40-7BE4A48FF7F7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Jens, This sounds like a simple input encoding problem. When you get the = MalformedByteSequenceException, are you sure the content is encoded as = UTF-8? If it's not, and you know what it is, you might be able to set it = explicitly somewhere in the wrapped document. On 20 Apr 2021, at 15:36, Jens Schulze = wrote: > Wenn ich das Beispiel ERPDFExample verwende und einen =E2=80=9Eumlaut=E2= =80=9C einf=C3=BCge erzeugt das die folgende Fehlermeldung. Die = verschwindet wenn ich die Umlaute =C3=BCber=20 > ESCAPE einf=C3=BCge. Also: statt Eigent=C3=BCmer verwende ich = Eigentümer. >=20 > Das ist aber nicht gut weil die Variablen aus der DB nat=C3=BCrlich = Umlaute enthalten k=C3=B6nnten (=E2=80=9E=C3=A4,=C3=BC.=C3=B6 etc..) >=20 > Anzeige HTML (korrekt) >=20 >=20 > Dann aber bei =E2=80=9Esimple PDF Generation=E2=80=9C=20 >=20 > org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte = 1 of 1-byte UTF-8 sequence.=20 > Reason: Invalid byte 1 of 1-byte UTF-8 sequence. >=20 --=20 Paul Hoadley https://logicsquad.net/ https://www.linkedin.com/company/logic-squad/ --Apple-Mail=_53504128-A031-418D-9A40-7BE4A48FF7F7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Jens,

This = sounds like a simple input encoding problem. When you get the = MalformedByteSequenceException, are you sure the content is encoded as = UTF-8? If it's not, and you know what it is, you might be able to set it = explicitly somewhere in the wrapped document.

On 20 Apr 2021, at 15:36, Jens Schulze <webobjects-dev@wocommunity.org> wrote:

Wenn = ich das Beispiel ERPDFExample verwende und einen =E2=80=9Eumlaut=E2=80=9C = einf=C3=BCge erzeugt das die folgende Fehlermeldung. Die verschwindet = wenn ich die Umlaute =C3=BCber 
ESCAPE = einf=C3=BCge. Also: statt Eigent=C3=BCmer verwende ich Eigent&uuml;mer.

Das ist aber = nicht gut weil die Variablen aus der DB nat=C3=BCrlich Umlaute enthalten = k=C3=B6nnten (=E2=80=9E=C3=A4,=C3=BC.=C3=B6 etc..)

 Anzeige HTML = (korrekt)  <Bildschirmfo= to 2021-04-20 um 07.57.48.png>


Dann= aber bei =E2=80=9Esimple PDF Generation=E2=80=9C 

Reason:
org.apache.xerces.impl.io.MalformedByteSequenceException: = Invalid byte 1 of 1-byte UTF-8 sequence. 
Invalid byte 1 of 1-byte UTF-8 = sequence.



-- 
Paul Hoadley
https://logicsquad.net/https://www.linkedin.com/company/logic-squad/

= --Apple-Mail=_53504128-A031-418D-9A40-7BE4A48FF7F7--