11/03/2010

Default unicode encoding for notepad document

This tip just applies for context menu (Right Click->New->Text Document)
  1. Create a new .txt document and do not type anything
  2.  Named the file above "txtunicode.txt." and save to C:\Windows\ShellNew\ (with unicode encoding)
  3. Then go to run dialog type "regedit" to open Registry Editor
  4. Navigate to HKEY_CLASSES_ROOT\.txt\ShellNew
  5. Right click to right windows select New->String value and rename to FileName
  6. Then type "txtunicode.txt" and click OK - it's finished


Now you can test be create new text document in context menu

The 0/1 Knapsack Problem - Dynamic Programming

 References: https://www.youtube.com/watch?v=EH6h7WA7sDw  Class Item class Item { private $_weight; private $_value; public functi...