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

未关闭
#958 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
54/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
android, kotlin
领域
mobile

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Kotlin
星标
1.6k
派生
187
平均合并
4 天 5 小时
30 天内合并 PR
3

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FossifyOrg/Messages 的其他 Issue

查看 FossifyOrg/Messages 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。