Menu

Unicode characters

Help
Narcis
2007-11-22
2013-04-24
  • Narcis

    Narcis - 2007-11-22

    Hello,

    I tried to use TELNETD for an internal tool and I see it's an excellent product.
    One of the best products I've seen as open source.

    I'm just having a question maybe somebody is having an idea.

    I was trying to display some Unicode characters on the server client and it doesn't work.
    This is the string "Štrúdla" and this is the text displayed "?tr·dla".

    Do you have any idea what it might be the problem?

    Thaks and regards,
    Narcis

     
    • Dieter Wimberger

      Narcis,

      Per specification the telnet protocol is expecting standard NVT communication, which,
      according to http://www.faqs.org/rfcs/rfc854.html defines:
      <blockquote>
      The code  set is seven-bit USASCII in an eight-bit field.
      </blockquote>

      So there is no problem, rather a misunderstanding on how telnet is supposed to work.

      Now, honestly, I don't remember if there is something like a codeset option, but I am sure that it is not implemented in telnetd yet. If you find some RFC or material on this, I'll be happy to take a look at it.

      Alternatively, you may negotiate binary transmission (also not implemented; see http://www.faqs.org/rfcs/rfc856.html\) and then work off the raw streams.

      It's important to mention that the support in the server is just one part of the story. The other part is the support in the different clients that exist nowadays.

      Regards,
      Dieter

       

Log in to post a comment.