0

I am trying -but in vain- to save a normal txt file written in Arabic but encoded with 7-bit to use it with USSD service. to workaround system limit file size that is 140 byte per file.

below link explain why encoding type is important in this case

https://en.wikipedia.org/wiki/GSM_03.38

  • What is it the problem? You cannot implement it, or you do now know the encoding? or what? The "regular GUI" is confusing me. – Giacomo Catenazzi Jul 23 '21 at 08:43
  • I can not save Arabic script to txt file and encoded with 7-bit to deploy it to ussd service, I want to do this since a known system limit in telecommunication industry, i will modify the question. – zaid abdullah Jul 23 '21 at 12:13
  • So a sort of https://stackoverflow.com/questions/2452861/python-library-for-converting-plain-text-ascii-into-gsm-7-bit-character-set/27454852 ? But you should change the encoding table with Arabic GSM 338 table? – Giacomo Catenazzi Jul 23 '21 at 12:28
  • not exactly ,the result should be in letters form written in txt file so anyone will read it as a normal text but in fact it takes a smaller size due to encoding change, e.g., txt file with 140 Arabic letter taking 140 byte or less size unlike when using UTF-8 encoding when 70 Arabic letters take 160 byte. I added an image for more clarifications. – zaid abdullah Jul 23 '21 at 15:29

0 Answers0