Author Topic: No Unicode Support in Registry Backup  (Read 8975 times)

0 Members and 1 Guest are viewing this topic.

Offline Wallax

  • Newbie
  • *
  • Join Date: Jan 2015
  • Posts: 4
  • Karma: 0
    • View Profile
No Unicode Support in Registry Backup
« on: January 17, 2015, 02:58:10 am »
No Unicode Support in Registry Backup! So the result is - ERROR!

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: No Unicode Support in Registry Backup
« Reply #1 on: January 19, 2015, 07:56:51 pm »
It does have some unicode support, can you post a screen shot of the error for me and post the backup log so I can see where it had trouble?

That way I can double checked if I missed a section or if the error was caused by something else. :wink:

Shane

Offline Wallax

  • Newbie
  • *
  • Join Date: Jan 2015
  • Posts: 4
  • Karma: 0
    • View Profile
Re: No Unicode Support in Registry Backup
« Reply #2 on: January 21, 2015, 02:15:06 pm »
Hi Shane, thanks for replying!
Below are 2 attachments, the screenshot and the logfile. It looks like the problem is with the Cyrillic encoding.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: No Unicode Support in Registry Backup
« Reply #3 on: January 21, 2015, 10:01:55 pm »
Ah, while the tree view shows the text properly, the API calls I am using in windows are not the unicode ones when it comes to the file copy and other api calls.

Since working on my technicians toolbox I did update and find the unicode support api calls for almost all of that (I made sure the toolbox program is fully unicode supported, one of the reasons it took me 4 months to write). Looks like I need to work on a new version and replace all the api's and get the program fully unicode supported. :-)

Time to start making v2.0 I guess lol

Shane

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: No Unicode Support in Registry Backup
« Reply #4 on: January 22, 2015, 02:27:02 pm »
Just to let you know I started on version 2.0 yesterday, stayed up all night, haven't been to bed and I have been working on it all night. (I am a tad OCD lol, and if I dont program at night my computer repair business takes all my time during the day, so I have to be a late night programmer to get any real work done)

So, I replaced every single control in the program with unicode supported ones. I also then had to redo every single api and function that touches the file paths at all so that it would handle unicode. I also updated the logs to be saved in unicode as well so it will show up properly there.

So far so good, I loaded up a test system in vmware and made a user account with unicode chars, and after a lot of testing and fine tuning it made the backups perfectly :-)

Still have a few more areas to convert to support unicode, and then do some more testing, and if all goes well I will release it on Monday. :artist:

Shane

Offline Wallax

  • Newbie
  • *
  • Join Date: Jan 2015
  • Posts: 4
  • Karma: 0
    • View Profile
Re: No Unicode Support in Registry Backup
« Reply #5 on: January 25, 2015, 06:23:34 am »
Great news Shane! Looking forward to testing v 2.0  :cheesy:

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: No Unicode Support in Registry Backup
« Reply #6 on: January 26, 2015, 03:03:09 pm »
New version is out, let me know how it goes for you. I could only do so much testing with it on my English version of Windows lol

Shane

Offline Wallax

  • Newbie
  • *
  • Join Date: Jan 2015
  • Posts: 4
  • Karma: 0
    • View Profile
Re: No Unicode Support in Registry Backup
« Reply #7 on: January 27, 2015, 08:29:18 am »
Now it's OK, thank you Shane. BTW, have a look at the two red arrows on my new screenshot, maybe you'll want to correct the text there. Best wishes to you and your family,
Wallax - Alex

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: No Unicode Support in Registry Backup
« Reply #8 on: January 27, 2015, 11:56:21 pm »
Actually the text is correct, you have your DPI settings in Windows set above 100%, which means everything bigger, and the text is being pushed off the control.

But the controls should be auto sizing on some of those, But I updated all the controls So I just need to go back and check those and make sure they are set to auto grow like they are suppose to :-)

Shane

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: No Unicode Support in Registry Backup
« Reply #9 on: January 28, 2015, 12:01:25 am »
Just checked the controls, looks like there is a bug in the autosize, I will work on that bug and have it fixed in the next version :-)

Shane