[hybi] Fragmented text message

"Kukosa, Tomas" <tomas.kukosa@siemens-enterprise.com> Thu, 21 July 2011 08:28 UTC

Return-Path: <tomas.kukosa@siemens-enterprise.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EA02521F8B7B for <hybi@ietfa.amsl.com>; Thu, 21 Jul 2011 01:28:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oKbJdezNM8tz for <hybi@ietfa.amsl.com>; Thu, 21 Jul 2011 01:28:53 -0700 (PDT)
Received: from senmx12-mx.siemens-enterprise.com (senmx12-mx.siemens-enterprise.com [62.134.46.10]) by ietfa.amsl.com (Postfix) with ESMTP id 64C4921F8B77 for <hybi@ietf.org>; Thu, 21 Jul 2011 01:28:53 -0700 (PDT)
Received: from MCHP064A.global-ad.net (unknown [172.29.37.63]) by senmx12-mx.siemens-enterprise.com (Server) with ESMTP id C8E8E23F0462 for <hybi@ietf.org>; Thu, 21 Jul 2011 10:28:52 +0200 (CEST)
Received: from MCHP058A.global-ad.net ([172.29.37.57]) by MCHP064A.global-ad.net ([172.29.37.63]) with mapi; Thu, 21 Jul 2011 10:28:52 +0200
From: "Kukosa, Tomas" <tomas.kukosa@siemens-enterprise.com>
To: "hybi@ietf.org" <hybi@ietf.org>
Date: Thu, 21 Jul 2011 10:28:51 +0200
Thread-Topic: Fragmented text message
Thread-Index: AcxHgDh/v4NQDoJkRvu0Mk4+OYBXmw==
Message-ID: <EC24CA2C319E8D47ACA5E181ABEC3E7B13BA5205BB@MCHP058A.global-ad.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: [hybi] Fragmented text message
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2011 08:28:54 -0000

Hi,

I have a one question regarding fragmented text messages.

If the text message is fragmented must be each fragment a valid UTF-8 string or only complete defragmented message must be a valid UTF-8 string?
I.e. may I during receiving decode each fragment by UTF-8 and than join strings or do I need to receive all fragments and then decode only defragmented message?

Thanks,
  Tomas