title: Arduino escape character \x
body: <p>I'm using Arduino Pro Mini and OLED display .96" with u8glib library. So I have to use this code to output Ukrainian word "Тест".</p>
  
  <pre><code>String str = "\xc2\xd5\xe1\xe2";
  u8g.print(str);
  </code></pre>
  
  <p>It works fine. But when I transmit the same string via Bluetooth from Android it outputs "\xc2\xd5\xe1\xe2" :(</p>
  
  <pre><code>while (BTSerial.available() &gt; 0){     
     char recieved = BTSerial.read();
     inData += recieved;
     if (recieved == '\n'){
        u8g.print(inData);
     }
  }
  </code></pre>
  
  <p>Why Arduino does not "see" escape characters \x that came from the Android? I've tried to read 2 characters and do something like this:</p>
  
  <pre><code>inData += "\x" + char1 + char2;
  </code></pre>
  
  <p>But have Error: \x used with no following hex</p>
  
  <p>Android code</p>
  
  <pre><code>String str = "Тест";
  String result = "";
  for (int i = 0; i &lt; str.length(); i++) {
     char c = str.charAt(i);
     int code = (int)c;
     if (code &gt;= 1025){
        code -= 864;
        result += "\\x" + Integer.toHexString(code);
     }else {
        result += c;
     }
  }
  byte[] msgBuffer = result.getBytes();
  String b = "\n";
  byte[] n = b.getBytes();
  try {
     mmOutStream.write(msgBuffer);
     mmOutStream.write(n);
  }catch (IOException e){
     e.printStackTrace();
  }
  </code></pre>