[SOLVED!] On USB drives, problems with non-English chars and HAL

Hello,
I am having a problem with non-English caracters (áãàçéẽê...) on files stored on my USB drive.
On Windows they're created with the correct name. But on Linux the files have the non-English characteres replaced by '?' and are not accessible.
If I manuallly mount the drives using 'mount -o iocharset=utf8 /dev/sdb1 /media/usbdisk' the characters are OK, so I think I just need to get HAL to pass the correct parameters to mount. However I don't know how to do that, and haven't found any good solution.
I tried to build a custom kernel setting the default charset as UTF-8 and it didn't work.
Any ideas? I'm using x86-64, HAL 0.5.13-3 and my locale is pt-BR.UTF-8.
Thanks!
EDIT: Actually, this is not a HAL problem, but a problem with 'exo'. For the solution, I edited /etc/xdg/xfce4/mount.rc and added iocharset=utf8 to the [vfat] category.
Last edited by Renan Birck (2009-11-28 20:54:23)

I don't use Thunar presently, but I looked in the Thunar Volume Manager doc and I didn't find anything to change the mount options of removable drives. I am not quite sure if it's possible or not. Maybe someone using it can tell for sure.
But if it is not possible to change the mount options, a possible solution is to disable the Thunar Volume Manager plugin and to use something else more configurable to manage the automount function.
Personally I use the halevt package from AUR which uses configuration files in the xml format.
It's not so easy to use but is highly configurable.
But there exists other tools also.
I can help you with halevt if you choose that way...

Similar Messages

  • Problem with  Non English Chars

    OS : Mac OS
    Java : 1.5.0_07
    Hi,
    i have an Swing application that reads data from a database and shows them in a swing GUI. The text returned by the database is in Arabic and saved in a TextField object.
    But once printed, the arabic chars are screwed up.or actually they r not arabic chars at all!!
    For debugging i also write the result of the query in the console and in a log4j log file.
    There, it is printed in the right form.
    here the code:
    System.out.println("D3"+java.nio.charset.Charset.defaultCharset().name());
    System.out.println("singular "+dit.getData().getSingular());
    log4j,debug("singular "+dit.getData().getSingular());
    Font font = Font.decode("Geeza Pro");
    textl.setFont(font);
    textl.setText(dit.getData().getSingular());
    The output in the console is (and log4j) :
    D3MacRoman
    singular صوف
    The output in the Swing Textfield is
    ������
    If i configure log4j to use UTF8 ,then even into log4j log file the same screwed
    chars are written.
    Looks like i've to tell Swing to use MacRoman, which is the default of the OS and
    the used by the console&log4j. but i don't know how to.
    Any clue??
    Thanks,
    Chris.

    convert your strings to unicode:
    example 1
    import java.awt.*;
    import java.awt.event.*;
    public class ApplicationFrame
        extends Frame {
      public ApplicationFrame() { this("ApplicationFrame v1.0"); }
      public ApplicationFrame(String title) {
        super(title);
        createUI();
      protected void createUI() {
        setSize(500, 400);
        center();
        addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            dispose();
            System.exit(0);
      public void center() {
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        Dimension frameSize = getSize();
        int x = (screenSize.width - frameSize.width) / 2;
        int y = (screenSize.height - frameSize.height) / 2;
        setLocation(x, y);
    import java.awt.*;
    public class BidirectionalText {
      public static void main(String[] args) {
        Frame f = new ApplicationFrame("BidirectionalText v1.0") {
          public void paint(Graphics g) {
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                RenderingHints.VALUE_ANTIALIAS_ON);
            Font font = new Font("Lucida Sans Regular", Font.PLAIN, 32);
            g2.setFont(font);
            g2.drawString("Please \u062e\u0644\u0639 slowly.", 40, 80);
        f.setVisible(true);
    example2
    Java Internationalization
    By Andy Deitsch, David Czarnecki
    ISBN: 0-596-00019-7
    O'Reilly
    import java.awt.event.*;
    import java.awt.*;
    import java.text.*;
    import javax.swing.*;
    public class ArabicDigits extends JPanel {
      static JFrame frame;
      public ArabicDigits() {
        NumberFormat nf = NumberFormat.getInstance();
        if (nf instanceof DecimalFormat) {
          DecimalFormat df = (DecimalFormat)nf;
          DecimalFormatSymbols dfs = df.getDecimalFormatSymbols();
          // set the beginning of the range to Arabic digits
          dfs.setZeroDigit('\u0660');
          df.setDecimalFormatSymbols(dfs);
        // create a label with the formatted number
        JLabel label = new JLabel(nf.format(1234567.89));
        // set the font with a large enough size so we can easily
        // read the numbers
        label.setFont(new Font("Lucida Sans", Font.PLAIN, 22));
        add(label);
      public static void main(String [] argv) {
        ArabicDigits panel = new ArabicDigits();
        frame = new JFrame("Arabic Digits");
        frame.addWindowListener(new WindowAdapter() {
        public void windowClosing(WindowEvent e) {System.exit(0);}});
        frame.getContentPane().add("Center", panel);
        frame.pack();
        frame.setVisible(true);
    To avoid having to type all the \u... notation manually, use the native2ascii tool (included with the SDK).
    http://java.sun.com/developer/technicalArticles/Intl/HTTPCharset/

  • Problem with Non-English Fields Output to PDF by JASPER in JDev10.1.3

    I am using jsprx files(designed in i-report) to generate pdf reports out of an oracle database.
    The non-English fields are shown correctly when I output the report into an HTML or when I view it with JasperView.
    If I try making PDF files (JasperExportManager.exportReportToPdfFile) the static fields containing e.g.Arabic/Chineese characters won't be displayed and dynamic fields from the database with non-English contents will be shown as ??? or null.
    I received some suggestions about using PARAMETERS to feed the report instead of FIELDS, which I think can not be helpful in this case and in general.
    I think this should be a common problem. These are the components I am using:
    itext-1.4.7. jar
    commons-digester- 1.7.zip
    jasperreports- 1.2.8.jar
    Any comment or help is appreciated.
    Thanks
    Farbod

    I am using jsprx files(designed in i-report) to generate pdf reports out of an oracle database.
    The non-English fields are shown correctly when I output the report into an HTML or when I view it with JasperView.
    If I try making PDF files (JasperExportManager.exportReportToPdfFile) the static fields containing e.g.Arabic/Chineese characters won't be displayed and dynamic fields from the database with non-English contents will be shown as ??? or null.
    I received some suggestions about using PARAMETERS to feed the report instead of FIELDS, which I think can not be helpful in this case and in general.
    I think this should be a common problem. These are the components I am using:
    itext-1.4.7. jar
    commons-digester- 1.7.zip
    jasperreports- 1.2.8.jar
    Any comment or help is appreciated.
    Thanks
    Farbod

  • Problem with non english caracter

    Hi,
    I'm using JRockit 1.5.0_03, I have a problem with pages with non english caracters. is it possible to change certain properties of JVM like "user.country", "file.encoding" or "user.language"? If yes, how can I change it?
    Thanks in advanced

    Hi,
    I'm using JRockit 1.5.0_03, I have a problem with pages with non english caracters. is it possible to change certain properties of JVM like "user.country", "file.encoding" or "user.language"? If yes, how can I change it?
    Thanks in advanced

  • USB Drives - Problem with Recovery Manager

    I bought a Kingston DataTraveler 112 16GB thumb drive so I could copy the recovery image as a backup. It recognized the thumb drive and showed that the recovery image was a little over 11GB. But when it started to format the USB, it returned to the previous screen and no longer showed the drive there. At the bottom of the screen it said to contact HP Support but it didn't give me an error message. Now when I try the recovery manager it won't recognize the USB at all.
    Prior to that I had purchased another 16GB USB--don't remember which brand. I have 5 other USB drives, but they're all smaller, except a 32GB Kingston DT101 G2 which does not work on this computer, although it worked on my previous computer (Pavilion w/Vista Home Premium) with no problem. All these USBs, including the new Kingston are for USB 2.0.
    OS is Windows 8.1 64 bit on HP Pavilion 500-A60 desktop. I've tried the problem USB drives in all 4 ports (2.0 and 3.0). Also in the one I plug into a port to give me 3 USB ports, also used on my prior computer.
    Is it possible that this computer doesn't recognize Kingston or certain other brands of USB thumb drives?
    This question was solved.
    View Solution.

    The trick to this is to use a USB 2.0 port and to use a non-Windows 8 certified thumbdrive. If the USB flash drive shows as a "removable device" then there should be no issue in using the media to create recovery media
    I have had great success with a Transcend USB 3.0 16-GB flash disk.
    I own a couple of DataTraveler flash disks and had the same lack of success creating recovery media that you did. I have also had zero success with Sandisk Extreme usb 3.0 flash disks
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • [AS] Problem with non English characters in file path

    I wrote a script that exports a pdf file from ID, rasterizes it in PS, applies an action, saves it as another pdf file, and finally creates a Mail message, and attaches the file to it (the last part is written in AppleScript).
    The problem is that it doesn't work when the path to this file contains non English characters.
    This works:
    make new attachment with properties {file name:"/Volumes/Macintosh HD/BackUp Tetard/Test.pdf"}
    but this doesn't:
    make new attachment with properties {file name:"/Volumes/Macintosh HD/BackUp Têtard /Test.pdf"}
    I remember vaguely that I read somewhere that AppleScript can work with Unicode — in other words with such characters — starting from some version, don't remember which exactly, but it seems to me — Leopard.
    I am on Mac OS X 10.4.11 right now. Will updating solve this problem? Does anybody know any solution to this problem: a scripting addition, some hidden setting, etc.
    I made a little test: used a Russian character — ё and it works, but when I use — ê (Dutch) it doesn't. May it have something to do with the Region setting in International panel?
    Thanks in advance,
    Kasyan

    Kasyan, as of Leopard AppleScript treats all text as Unicode pre this you can specify 'as Unicode text'. Try a test with these.
    -- Leopard
    set x to POSIX path of (path to desktop)
    -- Pre Leopard
    set x to POSIX path of (path to desktop as Unicode text)
    -- Leopard
    set x to POSIX path of (choose file without invisibles)
    -- Pre Leopard
    set x to POSIX path of ((choose file without invisibles) as Unicode text)

  • Safari Problem with Non-English websites

    Hello every body,
    I ran into strange problem, I do not know why I can not browse corectly some non-english websites like کانادا مهاجرت  or مهاجرت کانادا or مهاجرت به کانادا . it sounds a messy, could I make a change in HTML codes to make it compatible with SAFARI?
    Thank you

    Taleo's job search is flat out broken on Safari. Clicking the "search" button does absolutely nothing. The latest Firefox is also broken.
    The only conclusion I can draw is that Taleo doesn't support Mac users, period. Stunningly stupid. Says a lot about the quality of Taleo's products and workers.

  • Scanner driver Problem with - Windows 8.1 and HP AIO L7680

    Hi folk,
    i have a problem with my HP AIO L7680.
    I have made an upgrade to Windows 8.1 x64
    I install the actual driver version 14.8.0.
    The printer runs but the scanner makes trouble.
    When i will start a scan process i will get an error message and the scan process will be canceled.
    I will get this error message with photoshop, HP Solution Center and any other scanner software.
    The HP Print and Scan Doctor says i should contact the support.
    Here i am any idea?
    By the way i disabled my Antivirus Software during the installation.
    Thanks a lot.
    greetings
    Markus
    This question was solved.
    View Solution.

    Hi Markus,
    I understand that you are having an issue with scanning after upgrading to Windows 8.1. I will try my best to help you resolve this issue. I just need a little more information. What operating system are you running on your computer? Are you connecting wireless or with a USB cable? What is the error message that you are getting?
    I am including this document for A 'No Scan Options' or 'Scan settings are not set' Message Displays on the All-in-One there are trouble shooting steps for Windows 8 that will work for Windows 8.1.
    I hope this helps, let me know.
    Thank you,
    I worked on behalf of HP.

  • Keyboard input bug with non-english chars

    Hi community, i'm facing a weird problem with the following flex application (something very simple, couldn't be more):
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
         <mx:TextInput/>
    </mx:Application>
    The bug is coming only on Google Chrome (on Mac), when i try to enter french special chars in the input field, let's say i try to enter the following letters: éèçà, instead i'll get ÈËÁ‡ (see the following screenshots respectively for Safari and Chrome)
    I tried these browsers on Mac: Safari, Firefox, Omniweb, Opera. And it works like a charm for them. The bug is only on Google Chrome Mac.
    I also tried on Windows with IE6, IE7, Firefox, Opera, Google Chrome. No bug either for them on Windows.
    I've read on the Internet other people on Linux have the same bug sometimes (again, it's just for a couple of browsers and never all the browsers on their platform). I hope I don't have to tell my users to trick with their OS configuration. It's our job to make our apps to fit the visitor, not theirs!
    Does anyone knows a workaround for it? A special configuration to do (compatibility mode with older Flash version 8, 9, something like that?)...

    I just tested Firefox and Chrome on linux, i doesn't work either, but i get different weird chars: éèça
    However, on both mac and linux, if i copy the chars and paste them in the input field, it passes.

  • Driver problems with 9.2 db and 9.0.2 jdeveloper

    I was getting another error referenced on metalink about incompatibilities between jdbc drivers of 9.2 db and jdev 9.0.2
    referenced in:
    http://metalink.oracle.com/metalink/plsql/showdoc?db=BUG&id=2473471
    now followed the fix and am getting:
    java.sql.SQLException: Invalid Oracle URL specified: Invalid protocol oci8. thin is the only protocol available in this release.
    how can this be?
    this is the order entry mid-tier proxy authentication sample on otn for jdeveloper.
    Job

    David --
    We will be publishing a statement of direction regarding database debugging on OTN soon. In the meantime, here is the "short" answer. :-)
    Oracle9i JDeveloper 9.0.2 has a preview of PL/SQL debugging. It is an undocumented and unsupported feature that you can access if you are connected to a 9.2 database (you can right-click on a procedure and Run or Debug). Once you are debugging PL/SQL you can step into a Java stored procedure (or you can set a breakpoint in the Java stored procedure directly), provided all the requirements are met. Again, please note that this preview of database debugging in JDeveloper 9.0.2 is not feature complete, and is not documented nor supported.
    Oracle9i JDeveloper 9.0.3 will introduce support for PL/SQL debugging on 9.2 as well as earlier (8.1.7, 9.0.1) versions of the database. However, Java stored procedure debugging will still be possible with Oracle 9.2.
    -- Brian (JDev team)
    Dear OTN,
    Is debuging of Java SP available with 9.2 database and Jdeveloper 9i?
    You mentioned some time ago, it's not possible with JDeveloper 9i and Oracle 9i Rel 1.
    Is it possible now after 9.2 database release?
    Thanks in advance,
    David

  • Problems with non-English characters in iTunes 7.7

    Since "upgrading" to iTunes 7.7 every file containing characters not normally found in English (e.g.: å, ß, ç, é, î, ñ, ø, ü, etc.) gets a mane change when iTunes plays the track. For example, a song called "Baião" suddenly becomes "Bai.o" and if the artist or album name contains accented characters, these get scrambled as well. The files themselves also get jettisoned from their folders in the iTunes Library, which causes big problems.

    Kasyan, as of Leopard AppleScript treats all text as Unicode pre this you can specify 'as Unicode text'. Try a test with these.
    -- Leopard
    set x to POSIX path of (path to desktop)
    -- Pre Leopard
    set x to POSIX path of (path to desktop as Unicode text)
    -- Leopard
    set x to POSIX path of (choose file without invisibles)
    -- Pre Leopard
    set x to POSIX path of ((choose file without invisibles) as Unicode text)

  • Problems with non-English character.

    Hi
    My problem is that '������' become rubbish in my c++ dll. I hope someone can help me.
    ---Java code-----
    class Test
         private native void print(String str);
         public static void main(String [] args)
              new Test().print("������");
         static
              System.loadLibrary("Test");
    ----c++ code----
    JNIEXPORT void JNICALL
    Java_Test_print(JNIEnv *env, jobject obj, jstring jstr)
         const char * str = env->GetStringUTFChars(jstr, 0);
         if (str == NULL) {
              return; /* OutOfMemoryError already thrown */
         wstring str2(200, ' ');
         MultiByteToWideChar(CP_ACP, 0, str, strlen(str)+1, (LPWSTR)str2.data(),strlen(str));
         printf(">>> %s\n\n", str);
         cout << " str: " << str << ", str2.data: " << str2.data() << endl;
         return;
    ----OutPut-----
    &#9500;�&#9500;�&#9500;�&#9500;�&#9500;�&#9500;&#9570;str: &#9500;�&#9500;�&#9500;�&#9500;�&#9500;�&#9500;&#9570;, str2.data: 02CB6118
    Thanks
    Fredrik

    Hi,
    You will probably see the same rubbish if you try to print them to the console using java. Dos prompts usually have problems to print the Swedish characters. I don't know if this will affect your c++ dll or not. But you can specify the encoding for the JVM (-Dfile.encoding). For valid encodings see:
    http://www.mindprod.com/jgloss/encoding.html
    /Kaj

  • AGP Driver Problem with my ms-6585 and msi-ti4200 128 8x

    hi all !  Hope i'll get an reply cause this is bugging me since i have my board.  I'm having trouble with all the AGP drivers for the sis chipset.  Seems to stuck after the win2000 (sp3) loading.  Just before you enter you password.  the screen just lock up.  I can't do anything besides loading in safe mode.  When i uninstall the driver, everything returns to normal.
    here's my system :
    win2000 sp3
    pIV 2.53
    Mobo is a MSI 648 MAX sis (ms-6585)
    GFX is a msi ti-4200 128mo 8x
    512RAM DDR333
    PSupply is a 300w
    not sure of the bios version, but it's easy to get.  let me know if you need it.

    alathgr,
    Downoad the latest VIA (KT600) chipset Hyperion driver from http://www.viaarena.com/default.aspx?PageID=420&OSID=1&CatID=1070
    Put the ATI card back in. Run the uninstall of the ATI card and run Driver Cleaner.
    Install the VIA chipset driver.
    Install the FX5700 card.
    Install the nvidia VGA driver, its this one http://www.nvidia.com/object/winxp_175.16_whql.html

  • 7.1 does NOT solve 5.1 downmix problem with Panasonic SDC-HD1 and others...

    Howdy...
    Just an FYI: Cameras that record AVCHD in 5.1 surround (such as the Panasonic SDC-HD1 that Steve Jobs was touting at his keynote) still are not correctly downmixed in iMovie 7.1 or FCP.
    The sound still defaults to Mono with 1 channel being being loud and the other very quiet, as opposed to downmixing correctly to stereo from 5.1 (or even staying in 5.1 for FCP... D'oh!)
    Lots of nice fixes, but not for this bug...
    Best,
    Ben

    I also have this problem here
    I've tried to playback all those AVCHD in windows, they work fine, but mac just ***** with AVCHD
    I tried to convert those AVCHD to DVD videos, which playback fine in windows, but the audio in mac just *****. (Even just playing back a DVD made from AVCHD!)

  • [SOLVED] Non english chars kdemod 4 problem

    Hello, I have a little problem with KDE and the non english charactes.
    If I open a file with non english chars in its name I get something like this:
    (In this case kwrite opens "other" file but in other applications it fails with an error of file not found)
    Other sympton is that in KDE menu my name have bad chars too:
    (It must be López)
    And the third sympton is that if try to rename a file in the desktop, I can't write accented chars (á é í ó ú). At the begining the keyboard in this rename dialog was totally in english but i have got a semi spanish keyboard (i can write ñ letters) with the apropiate /etc/hal/fdi/policy/10-keymap.fdi file.
    But the most strange is that in general, in all Kde and non-kde applications and even in the console, non english chars works ok. I can go to the file->Open menu of the application and open a file with non english chars in its name. The problem seems to reside in the part of kde that passes the name of the file to the application (¿kwin?)
    my locale is es_ES@UTF8 and as I said I have configured correctly the 10-keymap.fdi file.
    I have read in some forums that something like this could be a kde or qt bug, but for me it's not clear as i don't see a general complaining about this.
    Any idea will be apreciated.
    Thanks in advance,
    Christian.
    Last edited by christian (2009-03-27 14:52:17)

    SanskritFritz wrote:
    That should be "es_ES.utf8"
    Sorry, i mispelled it in the post.
    Of course, my locale is es_ES.utf8:
    LANG=es_ES.utf8
    LC_CTYPE="es_ES.utf8"
    LC_NUMERIC="es_ES.utf8"
    LC_TIME="es_ES.utf8"
    LC_COLLATE=C
    LC_MONETARY="es_ES.utf8"
    LC_MESSAGES="es_ES.utf8"
    LC_PAPER="es_ES.utf8"
    LC_NAME="es_ES.utf8"
    LC_ADDRESS="es_ES.utf8"
    LC_TELEPHONE="es_ES.utf8"
    LC_MEASUREMENT="es_ES.utf8"
    LC_IDENTIFICATION="es_ES.utf8"
    LC_ALL=
    I don't think this could be the source of the problem, because, except in the places I said in the firs post, the rest of my system works perfectly.

Maybe you are looking for

  • ORA-00060: deadlock detected while waiting for resource CLOSE cursor

    Hi, I am a new member of this forum. I am working with a problem we got a few weeks ago. It is from a Pro C batch executable running on 10 threads dealing with >800 data accessed from multiple tables. The error as reported came from a package.functio

  • How do I configure a dynamic table with Data-Drop Down selections to store separate values?

    I am attempting to use LiveCycle to create an Order Form that uses an ODBC to a SQL database. When a user makes a selection, a separate column in the table references the "Item #" associated in the SQL table, and generates a corresponding barcode. My

  • Unable to uninstall rootsh

    i have installed rootsh to do apt-get autoremove and i do that but now i want to uninstall rootsh and i can`t... says unable to uninstall rootsh, internal error, application manager closed...  what do u think is the problem ? what to do?

  • Ultra 450 flash prom update

    Hello all I would like to update the flash prom on my Ultra 450. But when I try I get half way throug the process and than get this message. "Erasing the top half of the Flash prom programing OBP into the top half of the Flash prom **ERROR: A Vpp ran

  • Compile application using command line

    I want to be able to compile a personal profile application using the command line. Up until now I've used an IDE (WSDD) to compile and test my application but I need to be able to compile it using just the command line. Any help on the matter is muc