question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not type Japanese space in caption field

See original GitHub issue

This is the Japanese space character:   It is wider than the non-Japanese space character. While not used as often, it can still be useful to separate expressions.

When uploading a picture with the app, this character can not be typed into the caption field. When I type the space character on the phone’s keyboard, nothing happens. Pasting it does not work either, the character is removed from the pasted text.

With the Commons website I can enter Japanese spaces in the filename, caption, description fields. After pressing “Publish”, the Japanese space of the filename field is converted to a non-Japanese space. Example: https://commons.wikimedia.org/wiki/File:広尾_キラキラダンプカー.jpg

How about doing like the web UI?

  1. Allow the Japanese whitespace in fields.
  2. Transform it into a non-Japanese whitespace before uploading.

I am pretty sure we still have a method somewhere that sanitizes a few “bad” characters before upload. We could stop blocking these few characters in UploadMediaDetailInputFilter.java.

If you notice any other character that has the same issue, please comment below, thanks!

Context: https://github.com/commons-app/apps-android-commons/pull/4955

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
zhihaoyuucommented, Oct 13, 2022

hi,I think maybe I can try this bug, could you assign it to me?

0reactions
zhihaoyuucommented, Oct 22, 2022

thanks for your question. q1:At first I created the method to convert Japanese space to English space, but it seems that the problem is not this, the problem is that the software only allows input in the language you set. so in fact, you just need to manually switch to the Japanese input method. just ignore this code( we don’t need it now)

q2:yes it was a bug, I added one less “;”, if you want it to work, just add it manually

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't type Japanese properly (text box appears) in some
I'm using windows 10 and use the Japanese IME to type Japanese. However, whenever I begin typing in word or outlook or explorer...
Read more >
Requirements for Japanese Text Layout 日本語組版処理の ...
This document describes requirements for general Japanese layout realized with technologies like CSS, SVG and XSL-FO. The document is mainly ...
Read more >
Solutions for typing backslash on MacOS with Japanese ...
Rather I'm wondering if maybe there is some OS level option I can set. In any case, a Japanese keyboard does not have...
Read more >
12 Tips to use your Japanese IME better - nihonshock
A collection of tips for using your Japanese IME more effectively, including extra symbols, reconversion, custom words and more.
Read more >
Format caption text in Final Cut Pro - Apple Support (KZ)
Add multiple fields and special characters to CEA-608 captions. ... You can change the style and formatting of caption text using the inspector....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found