Login  Register

Re: Open Recent Character Bug

Posted by Michael Schmid on May 30, 2007; 2:36pm
URL: http://imagej.273.s1.nabble.com/Open-Recent-Character-Bug-tp3699274p3699275.html

Hi Bruno,

maybe you could help tracing down the bug by looking at the IJ_Prefs.txt
file (Windows: In the ImageJ folder, Mac: in $home/Library/Preferences)
and see what the recent00 etc. items look there?

To detect non-printable characters, it would be best to use an
editor that can display hex characters such as Notepad++ or a
hexdump facility.

On my Mac, I cannot open such a file from the 'Recent' menu after
restarting ImageJ; the "í" character gets converted to a question
mark when stored in IJ_Prefs.txt, but it is only ONE question mark.

What operating system do you use?


Michael
________________________________________________________________

On 30 May 2007, at 15:19, NeLaS wrote:

> Hello,
>
> I believe I'm experiencing a bug for character enconding.
>
> Some of my folders contain characters like "í". When opening a file  
> within a
> folder with this type of character it opens normally, and if I  
> close and
> open it using "open recent" feature the path is ok and the file  
> opens again.
> However, if I restart imagej and try to open the same file the path is
> corrupted. For example.
>
> /share/multimídia/foto.tif
>
> after restart it becomes
>
> /share/multimÂ#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#Â#Ã#dia/
> foto.tif
>
> (please substitute # for a square...)
>
> The size and number of this additional Ã#Â# is variable and last  
> night I
> waited over 1 hour to load "Open Recent" address, since it seems to  
> enter a
> loop printing this bad encoded characters until the line becomes a  
> black
> stripe. Very awful looking :-)
>
> I believe I did not have this problem before, but since I update  
> imagej
> frequently I can't tell in which version this happened (it is not  
> the first
> time I experience the bug)
>
> I'm now using version 1.38t.
>
> thanks!
>
> bruno