Apache OpenOffice (AOO) Bugzilla – Issue 65371
Protected macro: Unicode string would be destroyed when a macro be protected by password.
Last modified: 2007-01-07 18:51:20 UTC
Try this code: Sub test s = "一" ' A Chinese UTF8 String Msgbox "一" Msgbox Asc(s) End Sub Normally, It will print "一", and then print this Chinese UTF8's Unicode: 19968 But when this Macro goes to be protected, (yes gived it a password before protected) and close all Openoffice's program and re-run the macro(function test) It print "?", and then print this Chinese UTF8's Unicode: 63 ??? What's going wrong? And I found another point, that is When I put the string(Chinese UTF8 String) into awt's control's Model Text like: Label, EditLabel, Listbox... These Model's Text Will be same when the macro is going to be protected! Sorry to my English If somebody don't understand what I said.
@winwind If you wanted to create a real bug report, please - Attach an OOo document containing the macro - specify aour OS and Platform - Tell us whether you still see the problem with OOo 2.1
Closing issue due to reporter's inactivity Pls. feel free to reopen this issue if you wanted to report a real issue and if you find out that the problem is still existing with a current stable OOo version.
.