title: Settings Non-English language password on android phone?
body: <p>With Reference to <a href="https://android.stackexchange.com/questions/89008/device-not-allowing-the-use-of-non-english-for-the-screenlock-password">this</a> question on android stack, i have a solution to do which allows android phone to provide support for setting non-english language password.</p>
  
  <p>My phones SRC is based on stock-android which is not allowing me to set password which is non-ascii standards like Hebrew. </p>
  
  <p>Based from AOSP source code that handles the password input for lock screen, <a href="https://android.googlesource.com/platform/packages/apps/Settings/+/35a2d796e3afbd7c2572c16f5c8655d89078198b/src/com/android/settings/ChooseLockPassword.java" rel="nofollow noreferrer">ChooseLockPassword.java</a>, inside validatePassword() (line 292), here is a snippet that will show the "illegal character" message (from line 311):</p>
  
  <pre><code>// allow non control Latin-1 characters only
  if (c &lt; 32 || c &gt; 127) {
      return getString(R.string.lockpassword_illegal_character);
  }
  </code></pre>
  
  <p>I have commented out this part but i don't think so this will work. [Waiting to be Flashed]
  There are no such question for this condition, i need help for cracking the possibility for doing this any "Work around" will also do. </p>