Relative Content

Tag Archive for ascii

How do you compress ASCII strings into fewer bytes?

I’m working with an embedded device with a unique protocol that sends messages to other devices and I’m making an application that parses the sent packets. Each packet carries 8 bytes. The protocol is defined as where first byte is header and remaining 7 bytes is the data.

How to detect client character encoding?

I programmed a telnet server using C as programming language but I have a problem to send characters with emphases (é, è, à …). The character encoding is different between the telnet clients (windows, linux, putty, …).