** Description changed:

  When I try to password protect the macro librarys, the macro can not
  run, or make mistake output  while write chinese characters strings in
  the code .
  
  1) write this code in a new macro library :
  Sub main
-     msgbox "中文"  'chinese characters 
+     msgbox "中文"  'chinese characters
  End Sub
  2) Creat a button to run the sub. it can be run perfect.
  3) At the Macro manager dialogs,  password protect it.
- 4) save the document , close it. And then open. 
-    click the button to run the macro, the chinese characters  string show 
error.
+ 4) save the document , close it. And then open.
+    click the button to run the macro, the chinese characters  string show 
error.
  5) Open the basic IDE, use the password to open the code, it runs .
  
  This is probably a character encoding issue?
  
- Environment: libreoffice 3.5.x , 3.6.x @ ubuntu 12.04
+ Environment: libreoffice 3.5.x , 3.6.x @ ubuntu 12.04 @ zh_CN.UTF-8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1038632

Title:
  basic can't use chinese characters while protect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1038632/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to