lib/mblox/sms.rb in mblox-0.5.2 vs lib/mblox/sms.rb in mblox-0.5.3
- old
+ new
@@ -12,10 +12,10 @@
class BatchIdOutOfRangeError < ::ArgumentError; end
class InvalidSenderIdError < ::ArgumentError; end
class MessageTooLongError < ::ArgumentError; end
MAX_LENGTH = 160
MAX_SECTION_LENGTH = MAX_LENGTH - "(MSG XXX/XXX): ".size
- LEGAL_CHARACTERS = "~\`!\"#\$\%&'\(\)*+,-.\/:;<=>?@_£¤¥§¿i¡ÄÅÃÆÇÉÑÖØÜßâáäåãæçèéìíñòöøóùüú\n\r\t "
+ LEGAL_CHARACTERS = "~\`!\"#\$\%&'\(\)*+,-.\/:;<=>?@_£¤¥§¿i¡ÄÅÃÆÇÉÑÖØÜßâáäåãæçèéìíñòöøóùüú\n\r\t ©"
ILLEGAL_CHARACTERS = /([^a-zA-Z0-9#{LEGAL_CHARACTERS}\\])/
attr_reader :phone, :message
ON_MESSAGE_TOO_LONG_HANDLER = {