Re: Question about U+FFFC

From: Asmus Freytag (asmusf@ix.netcom.com)
Date: Mon May 24 1999 - 12:57:02 EDT


Stephen,

the answer is that FFFC is used *once* to 'anchor' the inserted object.
ALL information about the object is kept out-of-band. Therefore, FFFC is
most useful as a aid to implementations, not for interchange.

For example, if your word processor kept the text in a buffer and had a
separate parallel data structure for the formatting, the function of the
FFFC would be to allow you to attach formatting to that location, e.g.
provide a place for setting an underline attribute.

The picture data would be kept in a separate list. Your program might
have a list of which file goes with which FFFC in the text buffer.

When saving to plain text, you can emit the FFFC, and it would indicate
simply that an object used to be there, but is missing in plain text. This
is not
very useful, but then plain text was not meant to trasmit pictures.

If you need to preserve the information, you would need to use a markup
language. In that case, you would NOT emit the FFFC (you would omit it in
favor of the markup command such as <IMG src="">

A./

At 04:09 AM 5/24/99 -0700, stephen_holmes@lionbridge.com wrote:
>
>Hi there,
>
>This character is defined in the standard as OBJECT REPLACEMENT CHARACTER,
used
>as I understand it, to facilitate the insertion of objects outside the
scope of
>a normal Unicode text stream. Would someone have an example of how this
is used
>(pseudo-code/algorithm)?
>
>i.e., Should you delimit the inserted object with FFFC and how is the object
>data typically represented in the stream? For example, I'd like to
represent an
>inserted image file, would it look like
>
> \uFFFC C:\MyImages\Image.GIF \uFFCC
>
>Any clarification would be greatly appreciated.
>
>
>
>
>Thanks
>Steve.
>
>
>--------------------------------------
>Stephen Holmes, Engineering Manager
>
>Lionbridge Technologies, Grattan House
>Temple Road, Blackrock.
>Co. Dublin. IRELAND
>
>Tel: +353-1-283-6050 x 118
>Fax: +353-1-288-6220
>Web: http://www.lionbridge.com
>--------------------------------------
>
>
>
>
>



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:46 EDT