What I do:
- Connect via TCP;
- Send a request to get data (using Ti.Stream.write(...));
- Get response and handle it via async Ti.Stream.pump(...);
- Callback pointed out in pump method get the buffer in default charset utf8;
- Some data is lost and the buffer value in null, cause it couldn't be decoded correct.
How do I get the data from the server, sends it in win1251 charset?