Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Symbols not appearing correctly
Topic Summary: My less than or equal to symbol appears as a £
Created On: 13-Oct-2008 12:20
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 13-Oct-2008 12:20
User is offline View Users Profile Print this message


Jo Chandler

Posts: 20
Joined: 25-Oct-2007

Hi,
I have read other posts which are similar to this, but not read an answer to the problem.
I have a basic script that reads the object text, heading and ID from the object it is linked to and writes it into a table.
Unfortunately, where there should be a the less than or equal to symbol (among others) I get a £ instead.
Does anyone have a resolution to this yet?
This is also a problem when exporting a document from DOORS.
I have DOORS version 8.1.0.6

Thanks in advance.
Jo.
Report this to a Moderator Report this to a Moderator
 13-Oct-2008 12:54
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Jo, if the symbol is really a 'symbol' then using a simple script is not a correct approach to copy. When I mean simple, I assume you mean by 'basic script' -- a scipt that copies item as text.

Text is ansi and therefore lots of the symbols become translated to ansi values.

There are several approach to solve the problem -- but no easy solution.

-- Translate the symbols to ansi.
-- Use richtext
-- Translate to HTML character codes

Probably best approach is do not use symbols in DOORS no more than you have to.
Report this to a Moderator Report this to a Moderator
 13-Oct-2008 13:39
User is offline View Users Profile Print this message


Jo Chandler

Posts: 20
Joined: 25-Oct-2007

Ron, not quite sure what you mean.
My script gets the linked object text and outputs it using (target_lnk."Object Text")

How do I translate the symbols to ansi or HTML character codes?

I tried using rich text (richText(target_lnk."Object Text")) but ended up with a load of nonsense: "{\rtfl\ansi\ansicpg1252..."}
Report this to a Moderator Report this to a Moderator
 13-Oct-2008 14:01
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

The absolute best way is to have the authors put in something meaningful for your purpose.

DOORS is mainly about displaying data that is entered in to attributes -- and Telelogic doesn't concentrate on making life of a dxl programmer easy.
Report this to a Moderator Report this to a Moderator
 13-Oct-2008 14:30
User is offline View Users Profile Print this message


Jo Chandler

Posts: 20
Joined: 25-Oct-2007

I've sorted it. I think I just had my richText stuff a bit mixed up.
string s = probeRichAttribute_(target_lnk."Object Text", false)

new_obj."Object Text" = richText(s)
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.