# \[Android\] 'Text is garbled.' When will it be resolved? help me

**URL:** <https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969>\
**Category:** Processing for Android\
**Created:** [September 25, 2022, 3:32am UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969 "2022-09-25T03:32:56Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [September 25, 2022, 3:32am UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/1 "2022-09-25T03:32:56Z")

</div>

1. ref link : [[Android] Regarding the Android mode, has the text breakage been resolved?](https://discourse.processing.org/t/android-regarding-the-android-mode-has-the-text-breakage-been-resolved/24139)  
 ![Screenshot_20220925-122447](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/8/9/89264855b6b4fdd1ecee228f2600219d7aa35b9f.jpeg)  
Please refer to the image.  
example) Korean / Japanese / English  
If you experiment through, All texts are broken except in English.

```auto
CharSequence[] Choice_v = {"공급기-1","공급기-2","공급기-3","공급기-4","공급기-5","공급기-6"}; // Korean 
CharSequence[] Choice_v = {"FEED-1","FEED-2","FEED-3","FEED-4","FEED-5","FEED-6"}; // English

```

1. 

I’ve mentioned it before.  
2-1) There is no ‘text break phenomenon’ in Android 3.0.  
2-2) In Android 4.0, ‘text is broken’ occurs.

Q1) Have you ever solved it?  
Q2) Is there any way to solve it?  
Q3) I wonder if there are any plans to solve it.

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [March 17, 2023, 6:13pm UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/2 "2023-03-17T18:13:24Z")

</div>

@Rupesh_Kumar  
@svan

By any chance, has the phenomenon of broken languages (foreign languages) other than English been resolved?  
Or does anyone have a solution?

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [March 27, 2023, 12:10am UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/3 "2023-03-27T00:10:51Z")

</div>

![problem](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/5/5/555464982284f2b8984f3018e9090623d48caac1.jpeg)

```auto
String msg1 = "こんにちは。";
String msg2 = "안녕하세요.";
String msg3 = "你好。";

void setup(){
  
  size(displayWidth,displayHeight);

  background(255); fill(0);  
  
  PFont myFont = createFont(" ", 40); // Fonts with the language of each country
  textFont(myFont);  
  textAlign(LEFT,CENTER);
  text(msg1,10,100);
  text(msg2,10,150);
  text(msg3,10,200);
  
  
}
void draw(){  
  
}

```

‘Android solvers’ @Rupesh_Kumar@svan

As shown in the picture above, the ‘foreign language other than English’ font is broken.  
Is there a solution or is there a reason?

If anyone knows, please share or a solution.  
link : [Is there an Android Mode 4.1 problem(characters are broken.) / solution? - #9 by GWAK](https://discourse.processing.org/t/is-there-an-android-mode-4-1-problem-characters-are-broken-solution/15033/9)

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [March 27, 2023, 3:35am UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/4 "2023-03-27T03:35:17Z")

</div>

Hi

On APDE not broken

 ![Screenshot_2023-03-27-06-31-23-660](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/8/1/815f1e7c3e181052c264560a38f8bf497a1160b6.jpeg)

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [March 27, 2023, 4:04am UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/5 "2023-03-27T04:04:13Z")

</div>

Hi

New release try it

> **[Release Android Mode 410 (4.5) · processing/processing-android](https://github.com/processing/processing-android/releases/tag/latest)**
>
> Stable release compatible with Processing 4.0.
> It fixes the following issues since the last beta release of the mode:
> 
> Cannot download system image for watch emulator: #726
> Hyperlink error opening ...

[https://android.processing.org/](https://android.processing.org/)

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [March 27, 2023, 4:46am UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/6 "2023-03-27T04:46:58Z")

</div>

I noticed that you left the font name blank. Is there a particular font that has these characters? To which language do these characters belong?

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [March 27, 2023, 5:56am UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/7 "2023-03-27T05:56:13Z")

</div>

@jafal @svan (Dear svan)

Thank you for your reply.

1. There was a problem in Android 4.1 Mode.

- [Is there an Android Mode 4.1 problem(characters are broken.) / solution? - #9 by GWAK](https://discourse.processing.org/t/is-there-an-android-mode-4-1-problem-characters-are-broken-solution/15033/9)

1. It seems to have been resolved in Android 4.5 Mode (?)

- I’ll check and tell you.

Thank you for your reply.

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [March 27, 2023, 5:34pm UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/8 "2023-03-27T17:34:59Z")

</div>

This may be relevant: [https://forum.processing.org/one/topic/japanese-characters-in-processing.html](https://forum.processing.org/one/topic/japanese-characters-in-processing.html)

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [March 27, 2023, 6:32pm UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/9 "2023-03-27T18:32:08Z")

</div>

@svan

Thanks for your reply and interest.  
This is an Android (Processing) problem issue.

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [March 27, 2023, 7:11pm UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/10 "2023-03-27T19:11:51Z")

</div>

`This is an Android (Processing) problem issue.`

It may be a font issue. Microsoft no longer has the unicode fonts that contain the bazillion characters for Asian languages (at least that I can find). On a mac the asian characters show up correctly in a Processing sketch. You are apparently using three different languages in your demo and may have to use the correct font for each language before trying to print the strings. My advice is to look for fonts that will print these characters on your system.

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [March 28, 2023, 6:48am UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/11 "2023-03-28T06:48:20Z")

</div>

The following code runs without error on my Mac in Android mode with Processing 4.2. Same code failed on my Windows 11 system.

```auto
String msg1 = "こんにちは。";
String msg2 = "안녕하세요.";
String msg3 = "你好。";

void setup(){  
  fullScreen();
  background(255); fill(0);  
  
  PFont myFont = createFont("Arial Unicode MS Regular", 40); // Fonts with the language of each country
  textFont(myFont);  
  textAlign(LEFT,CENTER);
  text(msg1,10,100);
  text(msg2,10,150);
  text(msg3,10,200); 
}

void draw(){  
}

```

**output:**

 ![asian](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/a/a/aaf9cd7708ff35f0d9115665c243198e84fc3582.png)

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [March 28, 2023, 1:39pm UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/12 "2023-03-28T13:39:43Z")

</div>

@svan

You’re right. This was once an issue and appears to have been resolved.  
(This seems to have been fixed with an update.)

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [March 28, 2023, 10:57pm UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/13 "2023-03-28T22:57:53Z")

</div>

Are you able to run the code that I posted above on your Windows system and does it show the text correctly?

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [March 28, 2023, 11:01pm UTC](https://discourse.processing.org/t/android-text-is-garbled-when-will-it-be-resolved-help-me/38969/14 "2023-03-28T23:01:02Z")

</div>

@svan

1. Yes, that’s right. It works fine on windows.
2. I am currently using a lower ‘Android’ version.  
It seems to be possible if processed through ‘Processing4.0’.

Thank you for your interest.
