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?^M^@^CÍ?^M^@^CÍ?^MÐ^@^CÍ?^Mh^@^CÍ?^Mê^@^ +CÍ?^M^D^A^CÍ?^M8^A^CÍ?^MR^A^CÍ?^Ml^A^CÍ?^M"^B^CÍ?^Mº^A^CÍ?^MÔ z^C^@Í?^B¶^B^@Í?^CXB^@Í?^B¸^G^@Í?^B ^F^@Í?^Br^N^@Í?^CÄ@^@Í?^Cð7^@Í?^CR&^@Í?^DpI^@Í?^C^_^@Í?^D@L^@Í?^PÒ^A^@ +Í?^Dü.^@Í?^D.^@Í?^C®.^@Í?^C^0^@Í?^CÜH^@Í?^C(^@Í?^C:M^@Í?^P³^B ^@Í?^C^H<^@Í?^DÒ^]^@Í?^D^@$^@Í?^DÈ^F^@Í?^CÀ^_^@Í?^C¢^_^@Í?^Dð^B^@Í?^D¢ +<^@Í?^DD^^^@Í?^D^H^@Í?^Dð^H^@Í?^CJ'^@Í?^Cê=^@Í?^D^Z^C^@Í?^H^Z^C È^B^@Í?^N*^C^@Í?^P^@^@^@Í?^CNV^@Í?^B^^E^@Í? ^\^F^@Í? ^G^@Í +?^M<^B^@Í?^M^@^@^@Í?^M¶^@^@Í?^M^Z^@^@Í? ^^^D^@Í?^C¦8^@Í?^CîW^@Í?^CTW^@Í?^CRQ^@Í?^B^@^@^@^@LOLE Client. support + (c) Copyright Microsoft Corp. 1990 - All Rights Reserved^@^@^NGEN ERREXECUTEÍ^B^HERRCLOSEÅ^B MFRELEASE,^A^KLEQUERYOPEN×^@^QOLEQUERY +OUTOFDATE^_^@^NLESAVETOSTREAMÏ^@ ERRSETDATA¾^B BMRELEASE^A^ROLECREATEINVISIBLE:^@ LESETDATAË^@^NM +FSAVETOSTREAM.^A^QLESETTARGETDEVICEÍ^@^PLEQ

how am i supposed to know if a byte is larger that 30(hex)...?

20060822 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips, removed H2 tags

wellll thnx for the help!!!!=) it really helped a lot

In reply to BIN to HEX by drip

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.