Convert windows-1252 to utf-8 on Windows

Tried to find out how to convert windows-1252 code files to utf-8 without messing up Norwegian characters today. Couldn’t really find anything good other than linux tools and php stuff. Finally, *facepalm*, I remembered it might be possible using Notepad… And sure enough, seems to work great. Just open up the windows-1252 encoded file in Notepad, then choose ‘Save as’ and set encoding to UTF-8.

Hopefully I won’t forget this the next time I need it… *sigh*

How to change or remove file extensions in Windows

Say you have a bunch of files and you want to quickly change or remove the file extension of all of them. Turns out that’s very simple to do with the command-line in Windows. I had no idea…

Change

ren *.old *.new

Will change all files with ‘old’ file extension to have the ‘new’ file extension.

Remove

ren *.old *.

Will remove the ‘old’ file extension.

Simple!

Skype crash on Windows with offset 006eb5e2

Probably an obscure issue I’ll never experience again, but in case it does, I found a solution that worked in a thread on Yahoo Answers.

Run one of the commands below in a Command Prompt or just stick it into the Run dialog (win + r). Then restart Skype *sigh*… :roll:

Windows XP

del "%userprofile%\Application Data\Skype\shared.xml"

Windows 7 (and Vista?)

del "%appdata%\Skype\shared.xml"

Note: You may of course also find and delete the file by using Windows Explorer. I just prefer a quick one-off command :)

Ultra simple SFTP server for Windows

Core FTP mini-sftp-server interface

Was going to test some code the other day which needed to talk to an SFTP server. Stumbled over a small gem which was super simple to use. It’s called Core FTP mini-sftp-server. No installation, no tricky stuff. Just download and run. Great stuff :)

Win7: Automatic login for lazy single user

I’m the only one who use my computer and it’s in my room and I don’t really care about locking it or anything like that. I just find it annoying that I have to type a password everytime I boot it up or it comes back from sleep or screen saver mode.

I usually do this whenever I reinstall Windows. At least on my desktop computer. My laptops usually have password protection enabled. Anyways, I don’t reinstall that often so I always forget how to do it. Even though it’s very simple… Decided to share the procedure here, so I know where to find it :)

Continue reading

Win7: How to get taskbar thumbnails to show up quicker

Do you love the taskbar thumbnails in Windows 7, but think they show up a bit too slow? I did, so I did some research and found a way to change the delay.

Continue reading

Win7: Verbose status messages during startup and shutdown

Just a small registry script that makes status messages during startup and shutdown procedures in Windows 7 (and possibly Vista?) more interesting.

Continue reading