Feature Request: Add option to strip Unicode / convert Greek characters to GSM 7-bit

Abierto
#958 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
54/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
android, kotlin
Área
mobile

Línea de trabajo

Start by locating the Text messages settings and the outgoing SMS path to SmsManager. Trace where settings are stored and how message text is prepared before dispatch, then check existing tests for SMS encoding or Greek text. Done means an opt-in setting converts Greek accents and lowercase letters as described while leaving GSM 7-bit Latin text, numbers, and punctuation unchanged.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

feature request needs triage
Checklist
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.
Feature description

Please add an option in the settings (e.g., "Strip Unicode" or "GSM 7-bit character optimization") that automatically converts accented or lowercase Greek characters into unaccented, uppercase GSM 7-bit equivalents right before sending an SMS.

Why do you want this feature?

Standard SMS messages use the GSM 7-bit encoding, which allows up to 160 characters per message. However, GSM 7-bit only supports standard uppercase Greek characters (such as Α, Β, Γ, Δ...).

If a user types standard lowercase Greek or accented letters (e.g., Καλημέρα, τι κάνεις;), the app switches the entire SMS to Unicode (UCS-2) encoding. This drops the limit from 160 characters down to 70 characters per SMS segment, resulting in split messages and significantly higher carrier costs in Greece and Cyprus.

Currently, users have to either manually type in ALL CAPS without accents, rely on specific third-party keyboards, or use proprietary SMS apps (like Next SMS) that handle this conversion automatically.

Proposed Solution

Add a toggle in Settings > Text messages (or Advanced) that intercepts outgoing SMS text before dispatching it to SmsManager and performs the following:

  1. Removes all Greek diacritics/accents (tonos and dialytika).
  2. Converts lowercase Greek characters to uppercase (including converting both σ and final ς to Σ).
  3. Leaves standard GSM 7-bit Latin characters, numbers, and punctuation untouched.

Example Conversion:

  • User types: Καλημέρα, πώς είσαι; (Triggers Unicode -> 70-char limit)

  • App sends: ΚΑΛΗΜΕΡΑ, ΠΩΣ ΕΙΣΑΙ; (Stays in GSM 7-bit -> 160-char limit)

  • A similar feature existed in older Android SMS apps and remains a widely requested utility for Greek-speaking users.

Additional information

No response

Lenguaje dominante
Kotlin
Estrellas
1.6k
Forks
187
Merge medio
4 d 5 h
PR fusionados (30 d)
3

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FossifyOrg/Messages

Todos los issues de FossifyOrg/Messages

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.