FIXED EVERYTHING

img.loadImage(ofSystemLoadDialog().getPath());  Can now Work with UNICODE PATHS on PC.

AND WITH MULTIPLE FILES 

BOTH ON CODEBLOCKS AND VISUAL STUDIO




Fixed VS part of code,
Fixed pass by reference 
added ofEncodeToUnicode, 
Fixed ofOpenFile
(only works with paths that are encoded like the results in ofSystemLoadDialog); //not UTF8 
all returned paths from ofSystemLoad are NOT encoded in UTF8

because 

if it is UTF8 ofImage::loadImage(UTF8 string) DOESNT WORK.

So I encoded it the way it works.

if Later On we change the loadImage method, we can change this as well


ofSystemTextbox

Accepts UTF8 in CODEBLOCKS

and expects NON UTF8 in VS

VS cannot have UTF8 inserted in the .cpp files by hand.


Known Issues:


•If you add default path in ofSystemLoadDialog it will not return a valid string.  //not sure why.. I think it has something to do with memset, I don't think I broke this.. 

•Titles of the Dialog on PC is missing.. I remember fixing it,in some other thread, too tired to fix it now, it is something very trivial.