Answers.Body: <p>A useful tool I've found on Twillio to check the length of a SMS, especially for non-English languages: <a href="https://twiliodeved.github.io/message-segment-calculator/" rel="nofollow noreferrer">https://twiliodeved.github.io/message-segment-calculator/</a></p>
  <p>You can find <a href="https://www.twilio.com/docs/glossary/what-sms-character-limit" rel="nofollow noreferrer">here</a> more information about the &quot;logic&quot; of the calculation. French <code>é</code> is considered as normal but <code>ê</code> or <code>ç</code> not :-( and this will split the message every 70 characters instead of 160! This will directly impact the cost of sending.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-12-08T09:37:53.060Z
Answers.LastActivityDate: 2021-12-08T09:37:53.060Z
Answers.UserDisplayName: Guillaume Sorel
Body: <p>Depending on the character table SMS length is variable. CiviCRM from 5.40 can count the number of character but for languages using diacritics the actual size will be calculate differently.</p>
  <p>How can I easily check the really size of my message?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-12-07T19:12:39.737Z
Comments.Text: Also in 5.40+ the sms form in civi has a counter built-in, but it doesn't tell you anything special about non-english.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-12-07T21:12:38.870Z
Comments.Text: Guillaume - maybe you should rewrite the above as a question and the post your findings as an Answer
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-12-08T09:40:06.903Z
Comments.Text: done Dave. Would there be a way to include such a tool in CiviCRM? it's a minor usage but still with big impact on costs.
Comments.UserDisplayName: Guillaume Sorel
Tags: <sms>
Title: How to calculate SMS length, size or number for non-english languages?
ThreadText: # How to calculate SMS length, size or number for non-english languages?
  
  (Asked by: username_0 on 2021-12-07)
  
  Depending on the character table SMS length is variable. CiviCRM from 5.40 can count the number of character but for languages using diacritics the actual size will be calculate differently.
  
  How can I easily check the really size of my message?
  
  **Tags:** sms
  
  > **Comments:**
  > **username_1**: Also in 5.40+ the sms form in civi has a counter built-in, but it doesn't tell you anything special about non-english.  
  > **username_2**: Guillaume - maybe you should rewrite the above as a question and the post your findings as an Answer  
  > **username_0**: done Dave. Would there be a way to include such a tool in CiviCRM? it's a minor usage but still with big impact on costs.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-12-08. Score: 1 | Accepted answer
  
  A useful tool I've found on Twillio to check the length of a SMS, especially for non-English languages: <https://twiliodeved.github.io/message-segment-calculator/>
  
  You can find [here](https://www.twilio.com/docs/glossary/what-sms-character-limit) more information about the "logic" of the calculation. French `é` is considered as normal but `ê` or `ç` not :-( and this will split the message every 70 characters instead of 160! This will directly impact the cost of sending.
  
  
  ---
  
  