Creating File in Shift-JIS, Japanese Encoding for EFT

Hi,
We need to do EFT for the data which is present in Shift-JIS(JA16SJIS), Japanese characterset.
Our database is having
NLS_CHARACTERSET -- UTF8
NLS_NCHAR_CHARACTERSET -- AL16UTF16
File needs to be sent to the bank in the Shift-JIS format, I need to know how we can generate a file in this encoding?
Please help?
Thanks,
Priyanshu

Welcome to the Forum,
I assume you mean Electronic Funds Transfer under EFT because of mentioning a bank. (but please note wikipedia http://en.wikipedia.org/wiki/EFT does not have this one but defines several others)
Okey so you would need to convert the character set.
And this may depends on the tool you use to generate the output files.
Lets see how I would do this in a linux env:
If you have a modern linux environment you most likely have utf8 characterset as environment character set. So to match this you would setup NLS_LANG to this utf8 accordingly.
see more here: The correct NLS_LANG setting in Unix Environments [ID 264157.1] https://support.oracle.com/CSP/main/article?cmd=show&id=264157.1&type=NOT
This way you can get UTF8 output files from the oracle client tools without any other change I think.
Finally you can convert this file with another tool. e.g. command line tool like "iconv" or "recode"
OR
You can try to get oracle client to do this conversion for you. It should do this automatically.
but you would need to setup both OS locale and NLS_LANG to your Japanese character set and see if it does work or not. You may feel that I'm not 100% sure here...
OR
You can try to use inbuilt CONVERT oracle function if you use an application server or other tool but not an standard client...
http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions034.htm#SQLRF00620
HTH, Zoltan

Similar Messages

  • How to create an inputStream of UTF-8 encoding for a bufferedReader

    Hi all,
    I would like to ask if an inputStream of UTF-8 encoding can be created?
    I have a function
    boolean load(InputStream in){ ....} which has code
    BufferedReader br = new BufferedReader(new InputStreamReader(in));
    but this function cannot be changed, how to make sure the inputStream is UTF-8 or there's no such method?
    Thanks so much!

    I would like to send a byte array read from InputStream to another app where they are converted to UTF-8. In brief
    -Read input stream which comes in UTF-8 into a byte array
    -Send byte array to another app which will convert it into UTF-8 characters

  • How to create files with read/write privileges for everyone?

    I have two iMacs 7,1 (one with Snow Leopard and the other with Mountain Lion) in a local area wireless network.
    I have shared the "documents" folder in the Snow Leopard iMac in order to have files available to the other iMac. The folder has read/write privileges for everyone.
    When I create a new file in the shared "Documents" folder (for example a new Open office document, or a Keynote presentation) this file is by default "read/write" for the Administrator but only "read" for all the other users, so when I try to open it from the other iMac, I am informed that the file is "read only".
    I can obviously change the privileges of the file in the information window, but I have to do on a file per file basis and this takes too long.
    Is it possible to change settings in order to create files which are always "read/write" for everyone?
    And, secondly, since I have several existing files whose privileges I should manually change one by one, is it possible to make global changes of their privileges?
    Thanks in advance
    Best regards

    couple of different changes - 1st, if you want to share folders, doing your whole documents folder is not the best way.  Since both your computers can handle AidDrop, that's what I would recommend - http://osxdaily.com/2011/11/14/how-to-use-airdrop-in-mac-os-x/ - as it create an instant Ad-Hoc network between the two computers and then let's it done. 
    A second possibility that may not be what you're looking for, is to use google drive or some similay cloud sharing app to sync the documents back and forth.  both of these solutions will transfer the files well, but the airdrop may be simplest

  • Audio drifts out of sync encoding for DVD

    I am using Compressor 3.0.5.
    I have a DVCPRO HD file I'm trying to encode for a DVD.
    Even if I use the default settings in "DVD: Best Quality 120 minutes," the audio and video are completely off by the end by several frames.
    The source file was generated from FCP6.0.6, and that file doesn't have any drift issues. I have even successfully used Compressor to encode an H.264 file with no drift using the exact same file.
    Why then are the m2v and the ac3 files so off then? They are even different lengths by several frames.
    I've tried re-encoding the audio separately at 48K 24bit, (same as FCP settings) and that generated an ac3 that was 32 frames longer than the video, which was exported with the exact same in and out point.
    I've even tried breaking it up into 5 separate reels to encode each one individually and then join them in DVDSP, but then each of the 5 separate reels are each off as well, anywhere between 5 to 8 frames by the end.
    I spoke to Apple tech support, and they don't know why this is happening. Yet I see many people who have this experience and I can't find the solution. Please help!
    I read one post that mentioned it might be using a cluster and multiple cores, so I'll try using a single next, but if anyone has a solution please let me know.
    Thank you!

    I've had the same issue. It seems to only occur when outputting a 23.98 sequence to Compressor using the cluster.
    Another related question: Do the sync issues occur whether you use a reference Quicktime or self-contained?

  • Specify File Encoding(Japanese Characters) for UTL_FILE in Oracle 10g

    Hi All,
    I am creating a text file using the UTL_FILE package. The database is Oracle 10G and the charset of DB is UTF-8.
    The file is created on the DB Server machine itself which is a Windows 2003 machine with Japanese OS. Further, some tables contain Japanese characters which I need to write to the file.
    When these Japanese characters are written to the text file they occupy 3 bytes instead of 1 and distort the format of the file, I need to stick to.
    Can somebody suggest, is there a way to write the Japanese character in 1 byte or change the encoding of the file type to something else viz. ShiftJIS etc.
    Thanking in advance,
    Regards,
    Tushar

    Are you using the UTL_FILE.FOPEN_NCHAR function to open the files?
    Cheers, APC

  • [SOLVED]Need Shift-JIS to wine a Japanese game (or not)

    The game in question is Little Busters.
    I have heard at animesuki forums that the game runs fine with winelocale. Thing is, winelocale is for ubuntu. I used to use ubuntu, and I could probbably go back to it, but I know I'd complain about something and distro hopping isn't a good habit.
    So I want to try to get this game working on Arch.
    I think the first step I need is to get Shift-JIS locales in Arch. It is not in the /etc/locale.gen file and I tried adding it with similar syntax and that just gave me an error.
    EDIT: Got a working crack. Thanks Procyon.
    Last edited by sokuban (2008-09-21 19:39:48)

    Procyon wrote:
    I think it comes down to uncommenting ja_JP.UTF-8 in /etc/locale.gen, running locale-gen, and then LANG=ja_JP.UTF-8 wine program_name.exe
    At least, this has worked for me for a PC98 emulator, and some Japanese shmups.
    Not using LANG=ja_JP.UTF-8 makes me see only blocks.
    EDIT:
    And fonts maybe... I don't know where I got it all, but my Windows/fonts is 100MB.
    Wow that seemed to work. I didn't even need Shift-JIS or winelocale. Before I tested with just "LANG=ja_JP wine exe" and that worked with some programs but not this one for some reason.
    Thanks.
    I'm pretty sure winelocale doesn't work on Archlinux. The guy said it probbably doesn't work on debian even. Though the guy said that to use it you need to install Shift-JIS which is available on ubuntu, and said something about lang= not working well with Shift-JIS because it wasn't ASCII compatible or something. That's why I thought I had to get that locale.
    Yes, I know Japanese. Its a bit of a pain sometimes since there are all sorts of problems Linux has with Japanese. Though I have even more problems since I need Chinese as well. (I've got the whole mess somehow sorted out now, but before I had problems with Japanese fonts breaking Chinese fonts and all.)
    Slightly offtopic but what PC98 emulator did you get working with Linux? Anex?
    EDIT: Well the install worked fine, but the actual game gives me
    err:aspi:SCSI_OpenDevice Failed to open device /dev/sg0: 許可がありません
    That error many times until an error with gibberish comes up. The Japanese in the Failed to open device error means no permissions.
    Last edited by sokuban (2008-09-15 19:28:46)

  • 'Windows-1252', 'Shift-JIS', etc. code pages are not supported encoding names exception in Windows 8.1 Phone

    Hi,
    We have already released our product for WinRT desktop and tablet versions.
    Now we are developing the same app for Windows 8.1 Phone. 
    We are supporting 'Windows-1250', 'Windows-1251', 'Windows-1252', 'Windows-1253', 'Windows-1254', 'Shift-JIS', 'GB2312' and 'Big5' in both desktop and tablet versions which uses WinRT API's.
    But in Windows 8.1 Phone version, i am getting 'ArgumentException' saying 'Windows-1252' is not a supported encoding name.
    Please help me with a solution or workaround to support the above specified code pages for Encoding.
    Regards,
    Balaji Reddy. M

    Does CP-1252 work?  If not, this page may help:
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/cf5ca6c9-72b0-4abb-9ef5-ff77226ec642/how-to-handle-unsupported-encoding-in-xml?forum=wpdevelop
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • How to append in an encoder created file

    I'm using XMLEncoders and XMLDecoders for storage of java objects. Currently I've tried on simple data types only. But the problem is if I want to operate on the XMLEncoder created file from two different programs, then it is giving errors. In one program I'm executing
    XMLEncoder e = new XMLEncoder(new BufferedOutputStream
    (new FileOutputStream("polledobjects.xml")));
    e.writeObject(...);
    e.writeObject(...);
    e.close();
    and in another program I want to append to append a few more objects in the same polledobjects.xml, so I created another XML encoder object and opened the polledobjects.xml in append mode.
    XMLEncoder e1 = new XMLEncoder(new BufferedOutputStream(new
    FileOutputStream("polledobjects.xml",true)));
    e1.writeObject(...);
    e1.writeObject(...);
    e1.close();
    Now, Decoder works fine till the point it goes thru xml portion created by the first program, but as soon as it reached xml portion created by the second program, it gives the error->
    java.lang.ArrayIndexOutOfBoundsException: 2
    at java.beans.ObjectHandler.dequeueResult(XMLDecoder.java:272)
    at java.beans.XMLDecoder.readObject(XMLDecoder.java:150)
    at Convert.main(Convert.java:57)
    XML file created is :-
    <?xml version="1.0" encoding="UTF-8"?>
    <java version="1.4.2" class="java.beans.XMLDecoder">
    <object class="Data_to_Poll">
    <void property="active">
    <boolean>true</boolean>
    </void>
    <void property="agent">
    <string>192.9.200.151</string>
    </void>
    </object>
    </java>
    <?xml version="1.0" encoding="UTF-8"?>
    <java version="1.4.2" class="java.beans.XMLDecoder">
    <object class="Data_to_Poll">
    <void property="active">
    <boolean>true</boolean>
    </void>
    <void property="agent">
    <string>192.9.200.151</string>
    </void>
    </object>
    </java>
    I know it is giving problems b'cos it is encountering <?xml tag 2 times in the same xml document, but what should I do if I want to append in the same xml file and in the second program nothing more than filename is known...
    plz. help me out....

    Well, Instead of writing different objects in the same stream.
    e.writeObject(obj1);
    e.writeObject(obj2);
    First put them in some collection. for eg. a List or Set
    Set set = new HashSet();
    set.add(obj1);
    set.add(obj2);
    and then serialize the set e.writeObject(set);
    Does this sound like a solution ?

  • Encoding for Encore from Premiere Pro - File Size

    I'm working on a Blu-ray project that contains four separate tutorials, each with several individual clips.  I exported each clip (chapter) out of After Effects CS6 using the standard H264 preset.  The tutorials range from 2 to 5 hours each.  After all was said and done, the total file size of all H264 video clips was just under 25GB, perfect for a Blu-ray burn.
    I created four sequences in Premiere Pro, one for each tutorial.  All of the H264 video files were brought into Premiere Pro, chapter markers were added, ready to rock.
    When I attempted to export each sequence using the H264 Blu-ray preset, I found that using that preset would result in a grand total of about 75GB worth of data.  So I selected the MPEG2 Blu-ray preset, and it was almost the same.  I manually adjusted target bitrate settings, dropped quality to as low as it would go, and still the estimated file size far exceeded the 25GB I had available.
    All tutorials total about 15 hours of 1280x720 30p content.  I realize that's a ton of data, but AE exported all of this content using H264 and the grand total file size was under 25GB.  But bringing those very same video clips into Premiere Pro, assembling them, and exporting them results in much, much larger files.  I even attempted to import the AE exports directly into Encore to avoid having to re-encode anything, and still it estimated that the project's file size exceeded 75GB, even though the source footage of H264 video was less than 25GB.
    Right now I'm down-rezzing all of the footage to 720x480 and the file sizes are smaller, although I'll still need to decrease the bit rates significant if I have any shot of dumping all of this onto a single 25GB Blu-ray.
    I do realize that 15 hours is a lot for a single disc, but what I don't understand is how I can have 15 hours of H264 exported out of AE result in less than 25GB, but using that exact same footage in PPro/Encore results in over 75GB of footage.
    Any insight would be appreciated.
    Windows 7 64-bit
    Adobe Creative Suite Production Premium CS6
    (After Effects/Premiere Pro/Encore)

    The thing is, the AE exports look just fine.  (The tutorials are just a bunch of screen capture/software stuff.)  I didn't mess with any of the default preset settings for H264 out of AE, but yeah, they must've been encoded at pretty low bitrates.
    I wasn't aware that BD specifications have minimum bitrate requirements, so that would explain why I'm unable to decrease the bitrates within PPro or Encore.  Thanks for the info on that.  I just figured as long as the footage was at least 720P with square pixel ratio encoded in H264 or MPEG2 I'd be fine, but apparently not!
    The tutorials are for my own personal use, so I'm not too concerned about decreased resolution if I am able to make the SD content fit.  Otherwise, yeah, burning multiple discs is my only option.
    Thanks for the prompt feedback.

  • Howto make created folders/ files from one teacher, read only for other teachers?

    Hello there,
    as an admin @ school I was wondering how to make created folders/ files from one teacher, read only for other teachers?
     - In a 2008domain, created a group "teachers"
     - created a folder "teacher data" where all teachers have read/write permissions
    ideal,a teacher who make's a folder in "teacher data" should be the only oen who is able to add file's to that folder and dele that folder or files. Other teachers may be able to read the content of the folder.
    Is this possible to set up and how?
    many thanks.
    Nico.
    rds

    Hi Nico,
    You could set the permissions below to resolve the issue:
    For the root folder "teacher data": give the full control permission to CREATOR OWNER – "Subfolders and files only" and give the read/write permissions to the group "teachers"– "This folder only".
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Creating file in vs 13 for windows app

    I want to create a csv file in the root folder for my app. The file should be created only if it doesn't exist, if it exists it should just add data in new line in the same file.

    You can't rely on creating files where your programme is installed.
    Most users will not have create permission nowadays.
    You can easily prove this yourself.
    Open file explorer.
    navigate to a folder under programs where you have something installed.
    Right click on an empty bit and choose New on the menu.
    On my win8.1 machine I see Folder as the only option.
    They changed this since I think Win7 but maybe also Vista. 
    You should use AppData.
    This helper gets you the location of Appdata on the machine and adds your programme's namespace for a folder within that:
    public static class AppData
    public static string Location = Path.Combine(Environment.GetFolderPath(
    Environment.SpecialFolder.ApplicationData), System.Reflection.Assembly.GetExecutingAssembly().EntryPoint.DeclaringType.Namespace);
    This code here is serialising an object to FontDetails.xml in such a folder:
    private void Application_Exit(object sender, ExitEventArgs e)
    var fileName = Path.Combine(AppData.Location, "FontDetails.xml");
    if (!Directory.Exists(AppData.Location))
    Directory.CreateDirectory(AppData.Location);
    FontDetails fd = Application.Current.Resources["FontDetails"] as FontDetails;
    DataContractSerializer ser = new DataContractSerializer(typeof(FontDetails));
    var xmlSettings = new XmlWriterSettings { Indent = true, IndentChars = "\t" };
    using (var writer = XmlWriter.Create(fileName, xmlSettings))
    ser.WriteObject(writer, fd);
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Can I create File Formats for Bank Transfers?

    Hello Everyone!
    I need to know if Sap B1 2007A allow me to create File Formats for bank transfers in outgoing payments. I¨m in Colombia, South America, and working as Chile does.
    It is available documentation related to this issue?
    Thanks very much
    Claudia
    Edited by: Darius Heydarian on May 6, 2008 5:28 PM
    Edited by: Philip Eller on May 20, 2008 9:10 AM

    Kerstin,
    Thanks for the information.
    I might be wrong, but I understood that SAP did allow you to create dll files for this purpose. In the Document Resource Center in the Add-ons section, click on Payment Engine. There is a document called
    'Payment Engine Plug-in Development Guide in Release 6.5'.
    Claudia - you might want to see if this document is any use for you.
    Although the name shows release 6.5, this document still appears for both 2005 and 2007.
    I also checked 2007A and it still has the prompt for File Format.
    As I said, I might be wrong, because I do not know anyone who has tried to create a plug-in, but if this is not for creating your own dll files, do you know what it is for?
    Let me know what you think.
    Regards,
    Douglas

  • Hi, we need to create the test environment from our production for oracle AP Imaging. we have soa,ipm,ucm and capture managed servers in our weblogic. can anyone tell me what is the best way to clone the environment, can I just tar the weblogic file syste

    Hi, we need to create the test environment from our production for oracle AP Imaging. we have soa,ipm,ucm and capture managed servers in our weblogic..
    Can anyone tell me what is the best way to cloning the application from different environment, the test and production are in different physical server.
    Can I just tar the weblogic file system and untar it to the new server and make the necessary changes?
    Can anyone share their experiences and how to with me?
    Thank in advance.
    Katherine

    Hi Katherine,
    yes and no . You need as well weblogic + soa files as the database schemas (soa_infra, mds...).
    Please refer to the AMIS Blog: https://technology.amis.nl/2011/08/11/clone-your-oracle-fmw-soa-suite-11g/
    HTH
    Borys

  • QT v10.0 "save for web" creates file names with spaces?

    I find it strange that the additional exported files from "save for web" (iPhone, etc) auto exports files with spaces in the file names. Not only that, but changing the file names breaks the javascript.
    I work on a server that denies permission to files with spaces in the file names. I know it's a bit archaic - but it's also a long standing tennent of "good HTML" to creates files with a hyphen or underscore instead of a space.
    Is this something that can be addressed in the next update?

    If your using cs5 or cs6 you might try Image Processor Pro which seems to use underscores
    and has a save for web option.
    Dr Browns Services 2.31
    http://www.russellbrown.com/scripts.html

  • Error when creating files for transport request SAPK-700BGINPLMWUI

    Hello experts,
    We're upgrading our 46c System to ERP 6.0 EHP4.
    In Phase  EHP_INCLUSION we get the following error Message: Disassembling package queue failed, rc = "2", reason = "Error when creating files for transport request SAPK-700BGINPLMWUI"
    We've already checked the SAINT version; Upgrade Fix, SAPCAR version. We've checked our TMS as well and everything seems  O.K.
    Any help would be really appreciated!!!
    Complete Error message:
    EhP component PLMWUI, 700                                                                               
    Looking for SAINT package for 'PLMWUI' ...                                                                               
    R3upReadNewPackages:                                                                               
    patchType='U', langVect='DEC'                                                                               
    RFC Login to: System="X05", Nr="00", GwHost="sxt ", GwService="sapgw00"                                                 
    RFC Login succeeded                                                                               
    Calling function module "spda_read_new_packages" by RFC                                                                     
      ismovesVersion='0'                                                                               
    R3upReadNewPackages: exit: rc=0                                                                               
    ... No matching package found.                                                                               
    R3upReadNewPackages:                                                                               
    patchType='I', langVect='DEC'                                                                               
    RFC Login to: System="X05", Nr="00", GwHost="sxt ", GwService="sapgw00"                                                 
    RFC Login succeeded                                                                               
    Calling function module "spda_read_new_packages" by RFC                                                                     
      ismovesVersion='0'                                                                               
    R3upReadNewPackages: exit: rc=0                                                                               
    Found: name = 'PLMWUI', release = '700', package = 'SAPK-700BGINPLMWUI', type = 'AOI'                                  
    ... Matching package found: 'PLMWUI','700','SAPK-700BGINPLMWUI'                                                             
    (trc) R3upPatchDisassembleQueue: 1 package queue entries                                                                    
    (trc) R3upPatchDisassembleQueue: force=YES                                                                               
    (trc) R3upPatchDisassembleQueue: 1 packages will be disassembled                                                            
    Starting disassembling package queue                                                                               
    Date & Time: 20100319133139                                                                               
    Starting RFC Login to: System = "X05", GwHost = "sxt ", GwService = "sapgw00"                                           
    RFC Login to: System="X05", Nr="00", GwHost="sxt ", GwService="sapgw00"                                                 
    RFC Login succeeded                                                                               
    Calling function module "SPDA_DISASSEMBLE_QUEUE" by RFC                                                                     
    Input table IT_PATQ:                                                                               
    "SAPK-700BGINPLMWUI","000","AOI","PLMWUI","700","SAP PLM Web UI","00"                                                       
    Call of function module "SPDA_DISASSEMBLE_QUEUE" by RFC succeeded                                                           
    Logging off from SAP system                                                                               
    Date & Time: 20100319133139                                                                               
    Disassembling package queue failed, rc = "2", reason = "Error when creating files for transport request SAPK-700BGINPLMWUI"

    Hello Anthes,
    Please Check the things in following sequence :
    1.Use latest SAPehpi, R3trans and tp versions.
    2. users/group authorization issue and/or ownersip limitations (set 777) .Reboot the server to make sure, that the authorisations are updated and there is no lock on a file in the EHPI dir.Repeat the phase.
    Folders where permissions should be 777 are Upgrade directory, Data Directory, Cofile directory and .../EPS/in.
    3. Source file corruption can be ruled out by execution
    R3trans -l /usr/sap/<SID>/..../abap/data/R-700BGINPLMWUI.SAP (The data file corresponding to the Package which is giving error). Check if this ends fine.
    Note 2050
    4. Confirm that your transport tool is 'healthy' by testing it in STMS. In SPAM in client 000 use the function Disassemble package and enter the package <Package name>.
    5. Try to update the kernel if it not helps.
    Best Regards
    Niraj

Maybe you are looking for

  • Can not refresh server manager Error:0x8007045b

    OS: Windows 2012 R2 Core Services: Hyper V I was trying to remote reboot and the session hung. No worries I decided I could just reboot the next morning. So I rebooted the next day but when I go into server manager I get an errror can not refresh ser

  • Error in Quantity/Value Determination  : VPRS (IV)

    Gurus, When I am creating an IV (Intercompany Invoice), I am getting an error in VPRS determination in pricing. VPRS is not getting determined and it throws up an error saying "Error in Quantity/Value determination" (Error number 217) Need you help o

  • Newbie having trouble

    I'm new to Flash, Have got the new Flash 8 Pro. I'm trying to start at the beginning with tutorials to learn how to use flash. The first tutorial under the "getting started with flash" area is "building your first flash application" I have gone throu

  • Photograph and PM01

    How to upload the Photograph of the applicant using     OOAD transaction? I need step by step procedure if possible. Give me any example for when we create a custom infotype using PM01?       Kindly and quickly do favour to me friends. Mark:5

  • No sound on you tube videos. The volume icon on video shows an X beside it.

    I've tried some of the suggestions on online support, no help. I have never had to "sign in " to use you tube. What is the X by the volume icon on the video.