Server Management - Systems Insight Manager
1833385 Members
3531 Online
110052 Solutions
New Discussion

Sending variables to custom command in plain text not Unicode

 
Alexander Glass
Advisor

Sending variables to custom command in plain text not Unicode

I'm sending out %noticeplaintext% via SMS to mobile phones, and SMS only supports 69 characters when sent via unicode. If I use plain text I can send 160. My events right now are getting cut off at exactly 69 chars so it must be using unicode. How can I control the encoding of my %noticeplaintext%? My custom command starts a Windows batch file. Contents below:

---------
@echo off

start d:\batch\easisms.exe /action=sendlog /quiet /port=3 /mobile=5555555 /msg=%noticeplaintext%

exit
---------