> See above, there is no problem in ADL files - they support UTF-8 and 
> have been tested extensively. If there are problems in other tools, we 
> need to look carefully at the actions that lead to the problems. I can't 
> answer off the top of my head whether there are cut and paste problems 
> in the Archetype Editor, but I don't believe there should be any 
> problems in its ADL serialisation. Perhaps there are inconsistencies in 
> the XML serialiser - it is a separate piece of code. We should certainly 
> get it fixed at source if there are any problems, but I am sure they 
> will be in the code, not the archetype files themselves.
>
>   

So just to be certain, if a user has some existing textual content (e.g. 
a description of some construct) in a non-UTF-8 source (e.g. a Word 
document or HTML page) and pastes into a text area in the Archetype editor:
A)  All  (mappable) non-UTF-8 chars would be transformed into UTF-8 chars?
B) What about unmappable chars etc ?

e.g. in our WYSIWYG XHTML editor for HL7 Mif we had to put in a decoder e.g.

String charSet = "UTF-8";


<cut>

            Charset charset = Charset.forName(charSet);
            CharsetDecoder dec = charset.newDecoder();

            dec.onMalformedInput(CodingErrorAction.IGNORE);
            dec.onUnmappableCharacter(CodingErrorAction.IGNORE);


i.e. it just drops the chars which are either malformed or unmappable.

What happens wrt the Archetype editor?

Adam

 

***********************************************************************
This  message  may  contain  confidential and  privileged  information.
If you  are not the  intended recipient  you should not  disclose, copy
or distribute information in this e-mail or take any action in reliance
on its contents.  To do so is strictly  prohibited and may be unlawful.
Please  inform  the  sender that  this  message has  gone astray before
deleting it.  Thank you.

2008 marks the 60th anniversary of the NHS.  It's an opportunity to pay
tribute to the NHS staff and volunteers who help shape the service, and
celebrate their achievements.

If you work for the NHS  and  would like  an NHSmail  email account, go
to: www.connectingforhealth.nhs.uk/nhsmail
***********************************************************************


Reply via email to