build identifier: i20100313_1044

os: windows 7 ultimate japanese version (japanese locale)
birt preview locale: japanese

when checking an error message at the preview with an invalid flat file data source path, won currency symbol is displayed as a path delimiter in japanese locale.

expected: yen mark is displayed as a path delimiter in japanese locale. 

reproducible: always

steps to reproduce:
1. create a report project
2. import a report file (ex. chart_date)
3. double click the imported report and edit a select folder with an invalid path. 
4. click preview

and then, you can see the won currency symbol is displayed as a path delimiter.
(see the attached file)
created an attachment (id=163362)
screen capture
on xp, i saw \ so this might be windows 7 specific issue.
hi, can you please run this snippet in your windows 7 ultimate japanese machine


import org.eclipse.swt.*;
import org.eclipse.swt.graphics.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.widgets.*;
import org.eclipse.swt.custom.*;

public class main {

public static void main (string[] args) {
    display display = new display();
    shell shell = new shell(display);
    shell.setlayout(new gridlayout());
    styledtext st = new styledtext(shell, swt.single);
    st.settext("c:\\file.txt");
    st.setlayoutdata(new griddata(griddata.fill_horizontal));
    text t = new text(shell, swt.single);
    t.settext("c:\\file.txt");
    t.setlayoutdata(new griddata(griddata.fill_horizontal));
    shell.pack();
    shell.open();
    while (!shell.isdisposed()) {
        if (!display.readanddispatch())
            display.sleep();
    }
    display.dispose();
}

}
created an attachment (id=163991)
snippet result
okay, we need to know what font is set in that error message view.
if this message uses a browser font, you can specify san serif which is the os independent font. 

if not use a browser font, please let me know details. 
i need to select fonts for each os.
i need to know the name of the font that is being used to draw the text displaing the won currency symbol as a path delimiter.
once you have that, change the snippet in comment 3 to include these lines before calling shell.pack();
font font = new font (display, "font names goes here", 0, swt.normal);
t.setfont(font);
st.setfont(font);

note: i don't have access to the code or the machine, for that reason i need you to help me determine what component is responsible by this error.
you can specify the "sans-serif". it works fine with swt snippet samples.
hi felipe, is there a possibility of fixing this bug by this friday 4/23 ? thanks.
(in reply to comment #9)
> hi felipe, is there a possibility of fixing this bug by this friday 4/23 ?
> thanks.

this works fine in swt (see comments), we need more investigation from the component owner to determine where is the bug (and if the bug is in swt, how to reproduce it in simple swt snippet).
created an attachment (id=165889)
test screenshot

i tried birt 2.5.2 release build and 2.6.0 daily build in the specified environment. both tests shows the similar but correct results. can you try this in another similar environment and see if still can reproduce it?
please let me know if this is still reproducible for 2.6 build.
with 2_6_0_s20100504 stable build, this problem still occurs.
(in reply to comment #13)
> with 2_6_0_s20100504 stable build, this problem still occurs.

can you try it in another similar environment?
i tried this in windows vista 32bit japanese version and the same problem occurs with 2_6_0_s20100504 stable build.
did you always use the same report for testing or just create any report with a flat file data source?
the fix works correctly with a new report. yen mark is displayed as a path delimiter. closing. thank you. 

(when i use the existing report(ex. flat_file_csv.rptdesign), this problem occurs.)
can you attach the flat_file_csv.rptdesign? so we can know the root cause of this issue.
created an attachment (id=167649)
report file
please use the attached report file to investigate the root cause.