When sending SMS messages with GSM 7-bit encoding (data_coding=0) through certain mobile operators, special characters are incorrectly transformed during transmission:
The exclamation mark (!) is replaced with @ symbol
The pipe character (|) is replaced with @ symbol
The dollar sign ($) may disappear entirely in some cases
parts, encoding_flag, msg_type_flag = smpplib.gsm.make_parts('¡!@#$%^&*()_+-=[]{}|;:,.<>/?`~ |')


parts, encoding_flag, msg_type_flag = smpplib.gsm.make_parts('¡!#$%^&*()_+-=[]{}|;:,.<>/?`~ |')

Is it possible to solve this problem without changing coding?