Is it possible to read native encodings without using native2ascii

Hi All,
I have a text file containing japanese characters saved in a UTF8 format. I can read this into my java application after converting it using the native2ascii tool.
However i'm wondering whether i can read this directly into my java application without going through the native2ascii tool since this file is already in UTF8 format. I have tried, but it doesnt work. Please advise.
Thanks.

You missed reading the java.util.Properties documentation:
"When saving properties to a stream or loading them from a stream, the ISO 8859-1 character encoding is used. For characters that cannot be directly represented in this encoding, Unicode escapes are used; however, only a single 'u' character is allowed in an escape sequence. The native2ascii tool can be used to convert property files to and from other character encodings."
What's so bad about using native2ascii?

Similar Messages

  • Is it possible to create .ncd file without using MAX?

    Is it possible to create .ncd file without using MAX? I am trying to read the data given by hundreds of possible Arb. IDs on one of the CAN port without having to create it from the MAX.
    Thank you

    Hi,
    the NI-CAN driver software does not provide functions/VIs to generate
    *.ncd files. However the *.ncd file format is just plain XML (ASCII text). Take a
    look at the example.ncd file that gets installed with NI-CAN
    (<ProgramFiles>\National Instruments\NI-CAN\):
    <?xml version="1.0" encoding="UTF-8"?>
    <nican_config version="0.1">
    <saved>8/8/2005,17:58</saved>
    <message name="TransmissionFluids">
      <id extended="0">82</id>
      <dbc>C:\Program Files\National Instruments\NI-CAN\example.ncd</dbc>
      <conflicts>0</conflicts>
      <bytes>6</bytes>
      <interface>1</interface>
      <comment></comment>
      <channel name="ClutchPressure">
        <conflicts>0</conflicts>
        <bitfield start="0" bits="8" order="0" type="1"/>
        <linear_scaling factor="1.600000e+001"
    offset="0.000000e+000" max="4.000000e+003" min="0.000000e+000"
    default="0.000000e+000" unit="kPa"/>
        <comment></comment>
      </channel>
    </message>
    </nican_config>
    Thus, you could generate *.ncd files with simple file I/O. Having XML-specific file I/O functions simplifies this task.
    -B2k

  • Is it possible to install Windows 7 without using BCA to install drivers and using the support 5 software for drivers on my iMac 2014?

    What I am wondering is if I can install Windows 7 on my iMac 2014 without using BCA to install drivers and using the manual download Support software without bricking my system. The issue is that I recently moved into the country without a reliable data connection, so I'd like to download all the drivers from when I'm in town generally. Any info is appreciated.

    Mikhailov wrote:
    Hello,
    I'm trying to purchase inexpensive computers for my classroom. One of the computers I'm looking at is the new $200 HP Stream 11. My school's IT department said it might be difficult to install the district's copy of Windows 7 on these computers if I purchase them. Does anyone know if it's actually possible to uninstall Windows 8.1 and install Windows 7 using an external USB or external CD Rom Drive? Any help would be greatly appreciated. 
    The District is right to say what they told you they can't install Disctrict Windows 7 on your computer because they have a license agreements with MS and doing so will violate their Terms of Agreement. And you shouldn't be asking something like that to start with. If that laptop can't install Windows 7 it then your stuck with WIndows 8 unless HP has downgrade to go back to Windows 7 on it otherwise if none exist you will not get any drivers or support for it. You best luck is to find a used Windows 7 laptop and order the HP recovery media for it and wipe it clean to factory install and register it to you and that will give you a Windows 7 maching to start with.
    I am a Volunteer to help others on here-not a HP employee.
    Replies aren't online 24/7 because of Time Zone differences.
    Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015-

  • Is it possible to sync a clip without using multicam ?

    Hi there,
    I have some video clips recorded on 2 videos, we just say Video A & B.
    On the timeline, I mostly used clips from Video A.
    But for one 10 sec duration I prefer clip from Video B.
    How to I sync this 10-sec clip form video B to video A without using multicam and without using the trial & error method to match the audio wave. I am looking for a sync function, is there one ? One where you click sync and the clip auto move the clip to match. (Just like how you do in in mulitcam editor where u select the clip to sync with the clip in monitoring angle).
    Is it possible ?
    Thanks

    Russ H wrote:
    If I understand correctly, you want the 10 second B clip synced to As audio. In other words, are you using A's audio throughout your project?
    Yes that is correct ...
    Russ H wrote:
    If that's the case, I'm not sure why you wouldn't just make a short multiclip and over-write (or replace) what's currently there. That would be the easiest. The manual way would only be slightly more difficult; stack them with a connect edit; zoom in and align the wave forms.
    Yes, I want to put the short clip B over A. But I want to avoid the difficult way of stacking it up bcos the positioning is always not synce. Very cumbersome to match the audio waveform.
    But before I make a short multiclip (I assumne you mean compound clip), I still need clip B to sync to clip A. With only one B clip, I do not want to create a multicam ...
    Thanks Russ, any ideas ?

  • Is it possible to display unrelated info without using a subreport?

    Hi,
    I'm trying to create a report that displays 2 different sets of information without using a subreport. 
    The first section of info (the part I'm having trouble with) is simple displaying the info in the db.  It is just the differnt security settings of the system.
    The second section of info is each users info and their personal security settings.  This part is not a problem and displays correctly.
    How can I get the first section to be displayed at the top of the report without it affecting the second section which uses the group header and details portion of the report?  When I try and put it in the Page header it throws off the second section and causes the information in the details to be repeated multiple times.
    Is it possible to do this without a subreport?  I'm using Crystal Reports 2008.
    Thanks Mike
    Edited by: Mike Swift on Aug 21, 2008 5:35 PM

    Mike
    Have you tried selecting the "Select Distinct Records" box in report options.
    Maybe this has nothing to do with your problem but I thought I would throw that out.
    Good luck

  • Is it possible to develop struts application without using JPF in workshop 8.1?

    Hi,
    Is it possible to develop application based on struts framework without using
    Java Page Flow in workshop 8.1?
    I developed one application without using JPF , but it is showing some Deployment
    errors.
    rgds,
    girish

    Girish--
    Sure, though, I'd still encourage you to take a look at JPF. :)
    If you remove the JPF runtime files from WEB-INF/, WEB-INF/lib, and JPF specific entries in
    web.xml, you can start defining a struts-config.xml file against the Struts 1.1 runtime in the
    webapp, or you can replace that with a different version as you need. You'll also need to define
    the Struts runtime in web.xml including the servlet, taglibraries, etc.
    One note, the JPF flow view and other JPF specific editors don't work over a normal
    struts-config.xml file.
    Hope that helps...
    Eddie
    Girish wrote:
    Hi,
    Is it possible to develop application based on struts framework without using
    Java Page Flow in workshop 8.1?
    I developed one application without using JPF , but it is showing some Deployment
    errors.
    rgds,
    girish

  • How to open pdfs directly in acrobat reader client side without using browser

    When I sent a request to the pdf through servlet
    the requested pdf is coming in a browser , but I want it to open in acrobat reader only . Is it possible ?

    Hi,
    Yes you can open in acroread. I am not sure about syntax. Cheak it in API's of java.lang.
    It is somehow like this.
    System.exec("<location of acroread>",<pdf file name>);
    Check if it helps.
    Thanks
    Parsu
    iAS dev support team

  • Is it possible to update my iPhone without using a computer?

    Hello, new iPhone user here!!
    I'd like to update to the latest iPhone software, currently I'm on 4.0.2 I think but want to go to 4.1!
    I've not got access to my computer though assist in storage for 3 months!! I've got wi fi though, is it possible to update the phone or not?
    Thanks

    Ah brilliant thanks for the quick reply, looks like a long wait for me then ha!!

  • Possible to read/ write word files using Java?

    I'm planning to write a Java application that can read an MS word document, extract something (including mathematics equations created with the equation editor) from the document and write it to another word document.
    Is it possible to do this?
    Can anyone give me some idea?
    Any idea is much appreciated :)

    I think I may have misunderstood your question, but in case I didn't and you find this helpful, following is the code to read a word doc, replace certain strings, then write it out as a new doc.
    import java.io.*;
    public class Copy {
         public static String endResult;
         public static void main(String[] args) {
              String oldAuthor = "Samuel Foote";
              String newAuthor = "New Author";
              String oldDate = "1720-1777";
              String newDate = "1975 -- ";
          try {
              File inputFile = new File("C:\\document.doc");
              BufferedReader input = null;
              input = new BufferedReader(new FileReader(inputFile));
              StringBuffer contents = new StringBuffer();
              String line = null;
              while ((line = input.readLine()) != null){
                   contents.append(line);
                   contents.append(System.getProperty("line.separator"));          
              String text = contents.toString();
    //     Replace the author and the dates
              Copy y = new Copy();
              y.replace(text, oldAuthor, newAuthor);
              text = endResult;
              y.replace(text, oldDate, newDate);
    //     Copy the new, improved text to another file     //
              Copy z = new Copy();
              z.finalReplace(text);
              input.close();
         catch (FileNotFoundException ex) {
              ex.printStackTrace();
         catch (IOException ex){
              ex.printStackTrace();
         String replace(String text, String oldSubstring, String newSubstring) {
    //          Search the text for a string, then replace it //
              int fromIndex = 0;
              int e = 0;
              StringBuffer sb = new StringBuffer();
              while ((e = text.indexOf(oldSubstring, fromIndex)) >= 0) {
                   sb.append(text.substring(fromIndex, e));
                   sb.append(newSubstring);
                   fromIndex = e + oldSubstring.length();
              sb.append(text.substring(fromIndex));
              endResult = sb.toString();
              System.out.println("final string = " + sb);
              return sb.toString();
         String finalReplace (String args) throws IOException {
    //          Move the altered text to a new file  //
              File outputFile = new File("C:\\copied document.doc");
              FileWriter out = new FileWriter(outputFile);
              Writer output = null;
              try {
                   output = new BufferedWriter(new FileWriter(outputFile));
                   output.write(endResult);
              finally {
                   if (output != null) output.close();
                 return endResult;

  • Is it possible to configure 2 SSIDs without using multiple VLANs?

    I am trying to set up a 1231G to allow normal users to connect using WEP and visitors to connect with no encryption in guest mode. Using one SSID, I can get one or the other to work using the guest-mode command on the SSID, but have the problem that WEP mandatory or optional on the radio interface disables either the normal user or the guest. If I set up 2 separate SSIDs for each of these user groups is it necessary to assign a separate VLAN for each to make this work? The AP is on a network that is not trunked.
    Thanks for any help or direction you can give me.
    --Sara

    Hi Sara,
    Hopefully the attached docs will answer your question:
    Cisco Aironet 1200 Series
    Using VLANs with Cisco Aironet Wireless Equipment
    Deprecated versions of Cisco Aironet software permit binding multiple SSIDs to one VLAN. Current versions do not.
    http://www.cisco.com/en/US/products/hw/wireless/ps4570/products_configuration_example09186a00801d0815.shtml#
    Cisco IOS Software Configuration Guide for Cisco Aironet Access Points, 12.2(15)JA
    Configuring Multiple SSIDs
    vlan vlan-id
    (Optional) Assign the SSID to a VLAN on your network. Client devices that associate using the SSID are grouped into this VLAN. You can assign only one SSID to a VLAN.
    http://www.cisco.com/en/US/products/hw/wireless/ps4570/products_configuration_guide_chapter09186a00802085c4.html
    Also this answer from Cisco Aironet 1200 Series FAQ;
    Q. How many service set identifiers (SSIDs) can you have per VLAN?
    A. You can have only one SSID per VLAN. The use of multiple SSIDs over a single VLAN is not supported with Aironet APs.
    Hope this helps! (sorry to be the bearer of bad news)
    Rob
    Please remember to rate helpful posts.......

  • Is it possible to install Flash extension without using the Extensions Manager?

    I am so frustrated with Aodbe releasing new versions incompatible with older versions! I work with Flash CS3. There are many good reasons why I cannot and don't want to upgrade. I have recently updated to Mountain Lion. Everything is good except that the extensions manager 1.8 (CS3) doesn't work on Mountain Lion - it crashes. But all the newer Extensions Managers don't see any older versions of Flash. So basically I cannot install any of the extensions, which are essential to my work!
    I am thinking going back to Snow Leopard because of this ridiculous issue. Unless there is any other way to install extensions into Flash CS3...

    I am not sure whether the root cause for EM CS3 crashes is the same as EM CS5/5.5 on Mac 10.8. If the root cause is the same and you have installed InDesign CS3 and don't need install extensions for it, you can rename XManConfig.xml under InDesign folder to anything, then EM will not try to import pre-installed extensions for InDesign, EM should start up correctly. If you have to install extension for InDesign, you can remove all pre-installed extensions of InDesign, which should be located in "/Library/Application Support/Adobe/InDesign/Version XXX/<Locale>/Extensions" (I haven't installed InDesign CS3, so the folder may be a little different).

  • The password features does not work. Open TB, and I can read my email without using the password. Why?

    I use a password for security. When I click onto TB, I do not have to use my password to read my emails or it will not download. I cannot figure out how to change my password. When I tried to set the master password,
    it claims to have confirmed the new one. But I have to use the old password, or I do not have to use a password at all to read my email, if it downloads. This is after I uninstalled and installed TB 24.4 three times.
    Now what, any ideas?

    Here is my understanding: the master password secures your saved passwords. In other works, it unlocks your password to connect to the server to send and receive mail. It doesn't prevent people who have access to your computer from opening Thunderbird and seeing what's already there.
    This article has an extended discussion of many methods to try to prevent others from reading your already downloaded mail: http://kb.mozillazine.org/Protecting_the_contents_of_the_profile_-_mail

  • Is it possible to backup my iPhone without getting into the phone?

    I have a white iPhone 5c 16GB. It's my second time owning one, and the current one I have is from Asurion insurance company. I have heard those have been refurbished, so when I received my current phone I felt like it had already been old. iPhones don't have long life spans, for one. I would drop it a couple times and the edge of the screen would pop out but i would just push it back in using some force. Another problem it had is that it would die even when it had about 30% of battery left. Earlier today, it did the same. Trying to get my charger, the phone accidentally fell off of the bed while it was dead. As usual i check for cracks or the screen popping out and that didn't happen. I charged it and when i tried going on my phone I was only able to use half of the screen. The other half was covered in those lines that appear when the screen is damaged. My immediate reaction was to plug it into my laptop to backup the phone before more damage happened to the phone but I had procrastinated on updating itunes. It took about two hours for iTunes to completely download. Meanwhile the screen had just completely failed on me showing only the colorful lines, but i was still receiving calls and the phone could still vibrate, i just couldn't see or check anything at all. Once i was going to back it up, itunes said my phone was in recovery mode and that i had to restore my phone. I have precious photos that i want to keep when i get a new phone. Is it possible to backup the phone without using itunes and just using icloud? its saying my phone is connected yet im unable to see any proof of that other than the sound my laptop makes when i plug it back in. Also, if that doesn't work or is not possible, will i be able to just stick my sim card into a new phone and will i be able to keep my data?

    That's what I figured. When i go on icloud it shows the bar of the storage, and since i havent purchased extra, i only have the free 5gb. in icloud the bar shows the amount ive used and it says "backup" on the bar. It's not a link it's just a label. Does that mean it's backed up automatically on icloud?

  • Sending mails without using sendmail service. Is that possible?

    Hi all,
    I am considerably new to Solaris.
    I have a query,
    Is it possible to send mails out without using sendmail service?
    If so how can they be implemented in,
    Solaris 7?
    Solaris 8?
    Solaris 9?
    If it is not possible, are there any workarounds to achieve this or else this cannot be implemented at all?
    It would be really great if someone could shed light on this query.

    Your question is a little ambiguous. However, I will try to answer it.
    You need to use a program to send the email for you. On Solaris by default this is sendmail. However, it can be used in a number of modes.
    1. It can be run as a daemon, listening on port 25 for new messages to be delivered to it.
    This is enabled by default but is not necessary for sending email. If you wish to switch sendmail off as a service in Solaris10 then you should type 'svcadm disable svc:/network/smtp:sendmail'. If you wish to switch it off on earlier Solaris releases you will need to move/erase the startup script in either /etc/rc2.d or /etc/rc3.d.
    2. It can be run in 'immediate mode' to send mail immediately.
    This allows you to send a mail directly to someone. On a normally configured sendmail instance it will try to deliver the mail immediately - if the server at the other end is unavailable, the mail will be queued locally to be potentially delivered at a later date.
    3. It can run in delivery only mode to attempt to send queued mail
    Queued mail will not automatically get processed. Sendmail needs to run at a later date to attempt to deliver any queued mail. This can either be done via cron using 'sendmail -q' or sendmail can be left running the whole time and told to rerun the queue in given periods ie 'sendmail -q15m'
    There are alternatives to sendmail for delivering mail - postfix, exim, qmail are just three examples. I would advise against trying to deliver mail without using a specific mail agent to do it. Whilst the SMTP mail protocol is pretty simple in basic use cases the protocol does get complex. There is no real downside in using an established program.
    HTH.

  • 2 Displays without using Mac Mini's thunderbolt connection?

    is it possible to connect to monitors without using the thunderbolt connection.
    I want to keep the thunderbolt connection for a fast external hard drive in the future.
    If it's not possible do you think it will be possible with the new 2013 Mini when it arrives?

    No
    see > Apple - Thunderbolt: Next-generation high-speed I/O technology.

Maybe you are looking for

  • How to avoid focus issue while navigating via Browser Back button

    Hi I'm facing some problem in setting focus on Buttons. Please refer application: http://apex.oracle.com/pls/otn/f?p=47869:2 login credentials: Workspace: vsanthanam user: vijay pswd: apex_demo In this application, i have 2 pages. Page#2 has Submit b

  • Scanner sharing not possible

    I have two scanners (Canon Canoscan 3200 F, Lexmark X1190) connected to a PowerMac G4 (Mac OS X 10.4.11) via Firewire (the Canon) and USB (the Lexmark). In Image Capture I set up to share both the scanners. They appear on my MacBook Pro which is conn

  • PO with shipping tab, could we not craete delivery and use migo to do it?

    Hi experts We setup vendor as return vendor , So when we create return Po, it will have shipping tab on po item. So do we have to craete delivery for it ? Because for some return parts, Vendor agree to return back the money but no need return the goo

  • Asset Balances Display

    Hi All I have a problem in Asset Display. My client follows calander year. He has not closed his accounts yet for the calander year 2007. He has also not done AJRW- Fiscal Year Change. But when the client is trying to look inot the Asset Balance Disp

  • How long is the wait for uptodate program?

    I bought a macbook pro on 23rd July which is after Lion release, and it still shipped with Snow Leopard. Applied to the "uptodate" program on 24th, and it is now 1st of august! Nine days and waiting, and no response at all. What am I suppose to do?