title: Python vncdotool send special characters
body: <p>I am using <a href="https://github.com/sibson/vncdotool" rel="nofollow">vncdotool</a>. When I test the following code below, the <strong>:</strong> turns into <strong>;</strong> and I unable to figure out why it is doing that. Also when I try to send the <strong>~</strong> it will send <strong>`</strong> instead. Any help would be appreciated. Thank you.</p>
  
  <pre><code>import vncdotool
  from vncdotool import api
  
  def sendKeys(client, keys):
    for k in keys:
      client.keyPress(k)
  
  hostport = 'XXX.XXX.XXX.XXX::XXXX'
  password = 'XXXXXXXXX'
  
  client = api.connect(hostport, password)
  
  command = 'add-apt-repository ppa:nilarimogard/webupd8'
  sendKeys(client, command)
  
  command = 'cd ~/myfolder/'
  sendKeys(client, command)
  </code></pre>