Michael Smith wrote:
[Source code with funny square characters on the line don't copy
properly]
Faizulla Khan wrote on 22/06/2007 09:28:09:
Check if your source code displays comments in white and highlighted in
SEU
instead of the dull and dreary green? I found that the squares (in my
case
they were rectangles) were a representation of hex codes that were
embedded
in the source member to make the comments jump out at the coder. However
nothing was done to make the code any easier to read.
I've noticed these as well - the 'square' character is commonly used in
Windows to represent unprintable characters (there's actually an ASCII
code for making a bell sound on your PC speaker, for example). It's worth
noting that if you are using iSeries projects, you need to set up the
projects to use the Unicode (UTF-8) character encoding, or else the SEU
hex codes will not round trip properly. For me, they became commas when
EBCDIC -> ASCII was performed on 'Add to iSeries Project', and then when
my changes were pushed back to the i5 the code no longer highlighted in
SEU, it just had a comma as in the comment area for those lines.
I had a discussion quite a while back with one of the WDSC team about how
to set things up so that the default encoding for iSeries projects was
UTF-8. See
http://archive.midrange.com/wdsci-l/200605/msg00255.html for
more info.
Hope this helps,
Adam
Attention:
The information contained in this message and or attachments is
intended only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient is
prohibited. If you received this message in error, please contact the sender
and
delete the material from any system and destroy any copies. Thank you for your
time and consideration.
Attention:
Le contenu de ce message et(ou) les fichiers ci-joints s?adressent
exclusivement à la personne ou -entité à laquelle ils sont destinés. Ils
peuvent
contenir de l?information confidentielle, protégée et(ou) classifiée. Il est
strictement interdit à toute personne ou entité autre que le(la) destinataire
prévu(e) de ce message d?examiner, de réviser, de retransmettre ou de diffuser
cette information, de prendre une quelconque action en fonction ou sur la base
de celle-ci, ou d?en faire tout autre usage. Si vous avez reçu ce message par
erreur, veuillez communiquer avec l?expéditeur(trice), supprimer ce message et
les fichiers ci-inclus de tout système, et en détruire toutes copies, qu?elles
soient électroniques ou imprimées. Nous vous remercions de votre entière
collaboration.
As an Amazon Associate we earn from qualifying purchases.