Re: How to send in another encoding

2016-01-23 Thread spameden
1) Which kinda distro you're using? 2) I've just checked on Debian Wheezy 7 (with latest updates), kannel compiles just fine, here is a list of required packages: Here is a number of commands to run (1st line is debian/ubuntu specific): apt-get install subversion bison flex build-essential

Re: How to send in another encoding

2016-01-23 Thread spameden
2016-01-23 11:22 GMT+03:00 Deins : > Trying to install Kannel 1.4.4 from official site. > 1. ./configure - ok > 2. make - got error "unknown type name YYLTYPE" > > found in google, that it is something similar Yacc or Bison parser. > Currently bison 2:3.0.3 is installed.

Re: How to send in another encoding

2016-01-23 Thread Deins
Trying to install Kannel 1.4.4 from official site. 1. ./configure - ok 2. make - got error "unknown type name YYLTYPE" found in google, that it is something similar Yacc or Bison parser. Currently bison 2:3.0.3 is installed. I don't know much about this (better to say I don't know anything about

Re: How to send in another encoding

2016-01-23 Thread Deins
I delete folder with extracted archive, purge and install bison and flex packages. make command: $ ./configure --with-mysql --with-mysql-dir='/usr/share/mysql' it works right, next I do $ make and got error: /In file included from wmlscript/wslexer.c:72:0:// //y.tab.h:262:5: error:

Re: How to send in another encoding

2016-01-23 Thread Deins
I use Debian Jessie 8 I tried to install kannel and sqlbox with a checkinstall, but it didn't work out. So I just repeated commands you wrote. Now it's works. Now I have a symbols on my handset(not "empty squares"), but they stil wrong. I'll try to find a pattern of these symbols. On

Re: How to send in another encoding

2016-01-23 Thread Deins
It was a mistake with encodings in external program (from where I add records to send_sms table). I fix it and now everything works. For now I have a working system. No. You need to have kannel installed (make install) before sqlbox compilation. Otherwise sqlbox might use your old kannel

Re: How to send in another encoding

2016-01-23 Thread spameden
2016-01-23 22:43 GMT+03:00 Deins : > It was a mistake with encodings in external program (from where I add > records to send_sms table). I fix it and now everything works. > > For now I have a working system. > > No. You need to have kannel installed (make install)

Re: How to send in another encoding

2016-01-23 Thread spameden
2016-01-23 22:10 GMT+03:00 Deins : > I use Debian Jessie 8 > I tried to install kannel and sqlbox with a checkinstall, but it didn't > work out. > No. You need to have kannel installed (make install) before sqlbox compilation. Otherwise sqlbox might use your old kannel

Re: How to send in another encoding

2016-01-22 Thread spameden
2016-01-22 19:54 GMT+03:00 Deins : > 1) I use Kannel 1.4.3 from Debian repo. I will try to install latest > stable version if nothing helps. > 2) All tables in my database already was utf8, but to be sure I'm executed: > ALTER TABLE send_sms CONVERT TO CHARACTER SET

Re: How to send in another encoding

2016-01-22 Thread spameden
To get proper cyrillic or any UCS-2 text on your handset: 1) Make sure you use latest kannel version from SVN (compile it yourself) 2) execute in MySQL: ALTER table send_sms charset=utf8 ALTER table sent_sms charset=utf8 ALTER table dlr charset=utf8 So all your tables will be in utf8 encoding.

Re: How to send in another encoding

2016-01-22 Thread Deins
1) I use Kannel 1.4.3 from Debian repo. I will try to install latest stable version if nothing helps. 2) All tables in my database already was utf8, but to be sure I'm executed: ALTER TABLE send_sms CONVERT TO CHARACTER SET utf8; ... 3) yes, it is 4) coding=2, charset=utf8 5) now I have