🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4543

Non-ASCII data

#4543
From: Malvicmer
Date: Fri, 23 Nov 2001 22:21
15 lines
1198 bytes
I have a table which stores printer commands.

These commands consist of short strings of the form <Esc>xxxxx\n where <Esc>
is ascii 27, XXXX are normal letters, symbols and numbers and \n is ascii
10.

I would like to do something like this:

    UPDATE Commands SET Sequence='\033xxxxx\n' WHERE Code=1

but couldn't make it work.

How do you embed non-ascii data?

TIA
Technical Details
Message-ID: <3bfecc3c$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,f5eb9810d18f3a44,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-11-23 14:36:48 PST
From: "Malvicmer" <malvicmer@yahoo.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Non-ASCII data
Date: Fri, 23 Nov 2001 19:21:06 -0300
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 200.45.99.27
Message-ID: <3bfecc3c$1_1@dnews>
X-Trace: dnews 1006554172 200.45.99.27 (23 Nov 2001 14:22:52 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews