Skip to content

feat: add locales to allow using utf-8 characters on the console#141

Merged
reubenmiller merged 1 commit intomainfrom
feat-enable-utf8-support-on-shell
Sep 12, 2025
Merged

feat: add locales to allow using utf-8 characters on the console#141
reubenmiller merged 1 commit intomainfrom
feat-enable-utf8-support-on-shell

Conversation

@reubenmiller
Copy link
Contributor

Install the locales package and set the appropriate encoding variables for both bash and zsh to allow users to use utf-8 characters on the console (provided their terminal also supports it!).

This is required in order to publish units (which is included in the next thin-edge.io release, 1.7.x) which often use extended characters:

tedge mqtt pub -r 'te/device/main///m/battery_reading/meta' '{
  "temperature": {
    "unit": "°C",
    "precision": "±0.1°C"
  },
  "voltage": {
    "unit": "V",
    "min": 0,
    "max": 20
  },
  "current": {
    "unit": "A"
  }
}'

@github-actions
Copy link

github-actions bot commented Sep 12, 2025

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
35 0 2 35 100 4m20.661s

@reubenmiller reubenmiller added this pull request to the merge queue Sep 12, 2025
Merged via the queue into main with commit bd5a7f1 Sep 12, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant