Reg Add problem. Convert from .reg to reg add script

Hi. I'm making a registry script so I can add elements to the registry.
The script is working for DWORDS but I cant get the last one to work.
The registry exportet code I wan't to make a Reg ADD line from is:
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData]
"UserFilter"=hex:41,1f,00,00,53,08,ad,ba,01,00,00,00,2c,00,00,00,01,00,00,00,\
01,00,00,00,0c,00,00,00,9c,26,40,27,0c,f5,cf,01,01,00,00,00,07,00,6e,00,69,\
00,74,00,6f,00,2e,00,6e,00,6f,00
I've tried to google and have tried several reg ADD lines, but should't it be something like this?
reg ADD "hku\temp\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData" /v UserFilter /t REG_BINARY /d
41,1f,00,00,53,08,ad,ba,01,00,00,00,2c,00,00,00,01,00,00,00,\
01,00,00,00,0c,00,00,00,9c,26,40,27,0c,f5,cf,01,01,00,00,00,07,00,6e,00,69,\ 00,74,00,6f,00,2e,00,6e,00,6f,00 /f
Its the "\" that's get messy, don't know how to write reg Add line with that.
If I skip that line the script works, I can then run the .reg file above to complete the reg. settings, but that won't solve my problem.

Those backslashes just indicate line continuations in the .reg file.  You don't need them in your reg add version; the binary data can be placed all on one line.
If I remember correctly, you don't need the commas when using "reg add" either, so just this should work.  I've used environment variables here to split it up across multiple lines and make it more readable, but that's not actually required:
set REGKEY="hku\temp\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData"
set REGDATA=411f00005308adba010000002c00000001000000010000000c0000009c2640270cf5cf010100000007006e00690074006f002e006e006f00
reg add %REGKEY% /v UserFilter /t REG_BINARY /d %REGDATA%

Similar Messages

  • Are there problems converting from Adobe Bridge to Organizer?

    HI,
       I've searched for information on this and haven't found anything so maybe there aren't any problems :} but...Murphy and I are good friends so I have to ask if there are problems.
    I currnetly run Elements 8 on a MacBook and have about 2000 pictures in Bridge and some in Iphoto. I use bridge for pictures for web design and Iphoto for family stuff.  I 'help out' with the computer stuff at a cat shelter in town and they have just bought Elements 10 and run the PC version.  I am thinking of upgrading to 10 so I will be familiar with their version but am worried about converting from bridge to organizer. Are there any known problems?  Is there a tutorial some place about the conversion from bridge to organizer.
    Thanks for any ideas

    You have no pictures in Bridge. Bridge is just a browser; it just shows the current state of any folder to which you point it, so that's no problem. If you really want to use organizer, it will pick up your metadata keywords when you import the photos. Photos from iphoto will be duplicated on import to the organizer (normally it just makes a dbase pointer to the existing photo) to avoid inadvertently writing into the iphoto library, which can corrupt it and cause loss of the photos it contains.
    You will lose any stacks in bridge when you import the photos into organizer.

  • JDeveloper3.1.1.2 problem:convert from UTF8 to UCS2 failed

    oracleTeam:
    i test JDeveloper3.1.1.2,it has problem in runtime:convertion from UTF8 to UCS2 failed ,AttributeLoadException.( our language is chinese)
    I found that oracle\jbo\server\QueryCollection.class in dacf.zip maybe has problem,i use this class of JDeveloper3.1 to repalce same_name class in JDeveloper3.1.1.2,above problem disappeared,
    but because this class is not suit of JDeveloper3.1.1.2,other problems appeared.
    so you should work out this problem ,i hope
    it runs correctly.

    I searched this forum and the SQLJ/JDBC forum, and found a few occurrences of this problem. Among the things people suggested:
    * Changing JDBC drivers (experience varied as to which one fixed the problem)
    * Adding nls_charset1x.zip to your CLASSPATH
    * Ensuring you're using the same character set on the client and server.
    I suggest you take a look at the following discussion threads: http://technet.oracle.com:89/ubb/Forum8/HTML/001810.html http://technet.oracle.com:89/ubb/Forum8/HTML/000065.html http://technet.oracle.com:89/ubb/Forum2/HTML/000820.html
    Blaise
    null

  • Problem converting from wma

    Hi I am having trouble converting my old WMA files into itunes. It all started well until it found a track which it said the name was repeated, so it couldn't transfer it. thinking nothing of it I clicked ok and the conerting stopped. Can I override this, as I have lots which are purely saved as "track 1" and how do i restart the converting from WMA??
    Thanks

    Oh I would love to know this too! Is there a program to get to convert the WMA to MP3.
    Here is what I want to do: I have burned a lot of CD's (some I do not own anymore) to my hard dri've on my computer and have put them on my player. I would like to take the WMA files on my computer and convert them to MP3 to make them smaller "files", blank my Creative Jukebox Zen 2.0, and then reload them into the player in the ideal that there will be less "space" taken up from the WMA's. I am thinking this will help in battery life as well as the amount of space on my MP3 player. Anyone know of a good program that can do this? I assume there are no "free" programs to do this, so any suggestions on good ones to purchase within a "decent" amount of money? Or can I just go into any store and pick one up and have it work for files already on my harddri've? I want the smallest MP3 space of each song that I can get without compromising the sound on my MP3.
    Thanks!

  • Problems converting from MS Word 2007 to PDF using LiveCycle Designer 8

    Hi all,
    Hope anybody out there could assist me. have a Word document (we are using
    Office 2007) and I'm trying to use Adobe Live Cycle Designer 8.0 to convert
    a form from word to pdf. However, I get an error message (as shown in the
    image below)
    Is this a compatibility problem with Office 07?
    Appreciate all the assistance.
    Thanks and regards.

    Hi Peggy,
    I found a solution in a tech note from the adobe site:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=329044&sliceId=2
    2007 is a little tricky, since the instructions it gives are for Office 2003.
    In 2007 I went into "Word Options" from that funky button at the top of the Word window.
    From there, go into "Add Ins".
    At the bottom where it says "Manage" select "Com Add Ins" then click "Go".
    You should have a list that includes the Acrobat PDFMaker Office Add In. My Add In file is located at: \\Program Files\Adobe\Acrobat 8.0\PDFMaker\Office\PDFMOfficeAddin.dll
    The document finally converted, but it couldn't autodetect any of the form fields I'd placed on the original Word Document (.docx). Still looking for an answer on that one.
    Good luck.
    Also posted this solution to: https://www.adobeforums.com/webx/.3bc400e4/4

  • Problem converting from pdf to doc (encrypted or corrupt file?)

    Hi everyone.
    I need to convert my resume (pdf) to doc so I can make a couple of edits, and then convert it back to pdf. Problem is, I can't seem to do it. I first tried straight from the program in adobe by saving the file as a doc, but the file formating was way too screwed up when I did that.
    So, I then googled around, and found zamzar.com. I tried that site, but kept getting conversion errors which said "file may be encrypted, password protected, or corrupt". I don't have any passwords or encryptions on it, so I tried downloading other conversion programs, but I kept getting the same types of errors.
    I checkd the "security properties" for the file, and I don't have anything. I also don't know how the file could be corrupt since I don't have any issues viewing it, and when I sent it to my friend via email, he was able to open it, too.
    Ihave recently been using Acrobat 9 pro extended version that I downloaded as a torrent from a reputable person. I just wanted to get a feel for the program, but maybe this is the problem, since any pdf I've saved since I began using it, seems to have that conversion issue, but I figure there has to be a workaround. I really don't know what the issue is, or how I can solve it, and so I'm stumped.
    Any suggestions would be really great.
    Thanks a lot.

    This is a good read for anyone attempting to convert a PDF to a Word document...
    http://www.planetpdf.com/enterprise/article.asp?ContentID=PDF-to-Word_Conversion_-_Why_it_ is_so_hard_to_do&gid=7837&fa

  • NAT Problems Converting from 7.2(2) to 8.6(1)2

                       I am trying to replace an ASA 5510 running 7.2(2) with an ASA 5515x running 8.6(1)2.  The problem I am having is that the NAT entries are not working on the ASA 5515x.  Is there anything that needs to be considered when moving the configuration from the ASA 5510 to the ASA 5515x.

    Hi,
    ASAs NAT configuration format went under a big change when going from 8.2 to 8.3. The NAT configuration format changed completely and therefore none of the old NAT configurations work anymore. These are "global" , "nat" and "static". Actual NAT configurations start with the command "nat" though but otherwise in a totally different format.
    Your new ASA 5500-X series firewall can only use 8.6 or above software level. That is its "oldest" software. Therefore you cant use your old configuration on it. People who simply upgrade software on the original ASA5500 series will be able to just boot their ASA to the new software. Though while the ASA then migrates the NAT configurations to the new format, the results arent always the best.
    One major change would also be ACLs. In the new software you will always use the real IP address in the interface ACL when allowing traffic somewhere. So even if you were allowing traffic to some server (that has a Static NAT configured on the ASA) you would now use the real IP address as the destination rather than the NAT IP address. This is mainly due to the fact that ASA handles NAT before ACL now in the new software.
    There is also some minor changes to the commands related to VPN configurations.
    But the above are the biggest changes.
    How large NAT configuration do you have on the original ASA5510? If we are not talking about a huge configuration I could probably help with converting the NAT configurations.
    Here is a document I wrote about the new NAT configuration format
    https://supportforums.cisco.com/docs/DOC-31116
    Here is also a good document that might help you compare the old and new NAT configuration formats
    https://supportforums.cisco.com/docs/DOC-9129
    Hope this helps
    Please do remember to mark a reply as the correct answer if it answered your question.
    Feel free to ask more if needed.
    - Jouni

  • Problems Converting from Form6i to Forms10g/Reports10g - first experiences

    Hello,
    We are converting a Forms6i application to Forms10g.
    There is one fmb-file with a size of more than 3100kb.
    First step and surprise is that after using the
    forms migration assistant for converting the file from
    6i to 10g the size is minimized and now about 1000kb.
    We did not use the migration assistant and opened all
    6i files with FormBuilder10g (WindowsXP)
    Assuming that the conversion will be done if we are saving the file in form10g-builder.
    After doing a lot of chances in the big-fmb file and saving it -
    closing the form and opening it - the changes were lost!
    (Perhaps because there was more than one crash of form builder?)
    My questions are:
    - how can i check if the integrity of my fmb-file is ok?
    - is the minimum hardware requirement for developing a 10g-FMB file on a PC more than > 256MB RAM/450 MHz Processor?
    - for WindowsXP there is a DeveloperSuite 10g PreView -
    what does that mean? when will the final version be released?
    My experiences are:
    - if you are integrating a 10g Report with a parameter form in forms10g: first it does not work - you have to integrate a javabean in forms (encrypted userid in cookie
    before calling the report) or the other solution i read was funny with nearly no security (userid in hex in the url).
    how can u call a 10g report from the web without writing all your credentials in cgicmd.dat and without having oid (single sign on)?
    a solution would be writing your credentials encrypted in a cookie and then calling the report with the parameter form -
    but how? if you have never done java before?
    - handling with formbuilder10g is much more slower than formbuilder6i: is forms10g written in java?
    - you have to do a lot of configuration before calling a report on your development pc.
    thx for any comments and tips
    ps:
    shall i use webforms10g now or learn java/jdeveloper or wait for java.net (=cooperation Microsoft and Sun)? <

    Hello Frank,
    Thank you for your 9i/10i secure calls to web.show_document solution. I spend hours with it but could'nt get it working. I followed all the instructions from the pdf document. Everything looks fine ( java console output included ) but the cookie isn't created.
    I watched the tcp packet for the http header to see if any cookie information was included, but this isn't the case. I switched browsers (IE5 and IE6) and changed their security settings to very low. Nothing seems to matter. Still getting the REP-51018: Need database user authentication error. What am I doing wrong???
    I'm running 9.0.4 (10g) forms reports services edition on Windows 2000.
    ============
    Forms code :
    ============
    DECLARE
    rep_url varchar2(2000);
    BEGIN
    rep_url:='http://cen0060s:9989/reports/rwservlet?server=repcl&report=ebn2900r.rep'
    ||'&desformat=htmlcss&destype=cache&envid=ebn&userid=';
    set_custom_property('control.userid_bean',1,'WRITE_LOGOUTPUT','true');
    set_custom_property('control.userid_bean',1,'ADD_USERID',
    get_application_property(username)||'/'||
    get_application_property(password)||'@'||
    get_application_property(connect_string));
    set_custom_property('control.userid_bean',1,'SET_MAX_AGE','30');
    set_custom_property('control.userid_bean',1,'SET_COOKIE_DOMAIN','.dlg.agro.nl');
    set_custom_property('control.userid_bean',1,'SET_COOKIE_PATH','/reports/');
    set_custom_property('control.userid_bean',1,'WRITE_USERID_COOKIE','10g');
    SYNCHRONIZE; <-- Metalink bulletin regarding REP-51018 errors
    WEB.SHOW_DOCUMENT(rep_url, '_blank');
    END;
    ===============
    Applet output :
    ===============
    Loading http://cen0053s/forms90/java/frmrwinteg.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Versie van Forms-applet is: 9.0.4.0
    4.0 (compatible; MSIE 5.5; Windows NT 5.0; LNV; .NET CLR 1.1.4322)
    FrmReportsInteg0: Debugging true
    FrmReportsInteg0: Adding new userid string "EBN_OWNER/[email protected]"
    FrmReportsInteg0: Default cookie domain:
    FrmReportsInteg0: set RW_AUTH10g
    FrmReportsInteg0: Arguments: encryptionKey=reports9i; Reports version=RW10g
    FrmReportsInteg0: Cookie value for RW10g is: EBN_OWNER/[email protected];1093349923071:30
    FrmReportsInteg0: Encoded cookie value is: ZF/zcPJEKWXsS9Rh4pfD3079dl+p4fnz20rz8aM2PdMW4ITpb+rYdtWOF2GUmqkXrw==
    FrmReportsInteg0: Complete cookie string is: userid=ZF/zcPJEKWXsS9Rh4pfD3079dl+p4fnz20rz8aM2PdMW4ITpb+rYdtWOF2GUmqkXrw==
    FrmReportsInteg0: Added domain " " to cookie
    FrmReportsInteg0: Generated Cookie String: userid=ZF/zcPJEKWXsS9Rh4pfD3079dl+p4fnz20rz8aM2PdMW4ITpb+rYdtWOF2GUmqkXrw==; domain= ; path=/
    FrmReportsInteg0: IE Cookie Set

  • Problems converting from CS4 - eps files show TIFF error

    Having downloaded the latest version of Indesign CS6, I have tried to open several douments of a music tutor featuring many EPS music graphics along with many Tiff images. However, I keep getting following error: "Error encountered while reading TIFF image. Image may be damaged or incompatible. Resave the image with different settings and try again."
    I have resaved all the EPS and Tiff images as CS6 files and relinked them into the document but to no avail - the problem remains. I suspect that the  image files are not actually damaged but that there is some other problem. I have 100s of images and am not sure what next to do. I noticed another user ( Kaleidoscopes Violin) who had a similar problem and it was suggested that "if your CS2 file is still intact, try exporting it to interchange format (.inx), then open the .inx file in CS5 (or CS5.5 which is the current release, and not the same as CS5)." - but this was for CS2 to CS5, and CS6 does not allow .inx file export. I need to work with the document in future so exporting it as a PDF file is of no use to me. Is this a known bug in CS6? I would be grateful for any advice. Thank you.

    Wow ... very, very helpful responses.  I wish I'd posted this earlier!! 
    I had no idea that EPS was an older file format, or that PDF was considered a "legitimate" graphics format.  Sibelius 6 only exports to EPS, TIFF (yuck!!), and PNG.  However, I did discover that it "prints" to Adobe PDF.  Odd that the option is located in an unexpected file menu, but very glad it's there!!  The PDF format loads fine into InDesign and also prints beautifully, unlike the PNG option. Yay!! 
    As far as embedding fonts, I had been making sure this option was checked (when exporting from Sibelius), so it seems unlikely that was the problem. So in theory that would mean it's not a problem of the InDesign font cache, or of a font discrepancey.  In practice ... who knows.  What's particularly puzzling is that some EPS files are fine, while others were not; and also that CS2 had no problems with any of them.
    Regardless, the font information is really, really good to know ... I'll save this thread for future use!
    Thanks so much to all for your generous help!!!
    Elise

  • Problems converting from iMovie to iDVD

    First of all, I'm new to this so I apologize if this is a ridiculous question.
    I just spent days building a movie in iMovie, complete with photos and music. Because I couldn't figure out how to chop the songs to the lengths or starting positions I needed, I just used the volume control (click on the line and a yellow ball shows up and you can drag it down) to fade out songs as new ones were started. As a result, two songs are often playing at once but you can't hear one of them as I have that particular song turned down (which is good).
    Problem: When I converted the movie to iDVD so I could burn it, the volumes were all back up and the songs play at once.
    HELP!
    Thank you.

    Hi S
    Go back to Your iMovie project.
    Play it. Is it still OK ?
    IF not. iMovie rendering process has harmed it. Re-import the photos and re-edit it.
    Now - Don't use the "Share/Export to iDVD" function in iMovie.
    Just close iMovie.
    Locate Your movie project icon (with a Star on it). (I use to store it on my DeskTop.)
    Start iDVD and import the movie icon.
    Now iDVD will do the rendering an so much better.
    This might work for You.
    Yours Bengt W

  • Problems converting from Mail to Entourage

    I set up my Entourage account using the same information as my Mac mail account, including using smtp.mac.com for sending mail. I was able to import all of my messages from mail into Entourage, but when I tried to send messages from Entourage, I get the following error: "Mail could not be sent using the account 'Pam Legall.' Under Explanation it says that the specified server could not be found. What am I missing?
    PowerBook G4   Mac OS X (10.4.9)   using Entourage 10.1.0

    I set up my Entourage account using the same information as my Mac mail account, including using smtp.mac.com for sending mail. I was able to import all of my messages from mail into Entourage, but when I tried to send messages from Entourage, I get the following error: "Mail could not be sent using the account 'Pam Legall.' Under Explanation it says that the specified server could not be found. What am I missing?
    PowerBook G4   Mac OS X (10.4.9)   using Entourage 10.1.0

  • Problems converting from CS2 - eps files show TIFF error

    I have multiple volumes of a violin method book in InDesign CS2 and was considering upgrading to InDesign CS5. While using the trial version (which I just downloaded last night), every single of my eps files (hundreds of images across multiple documents) -- which were handled correctly by CS2 -- came up with the following error: "Error encountered while reading TIFF image. Image may be damaged or incompatible. Resave the image with different settings and try again." 
    Inconveniently, these errors were not collated into a single pop-up box when the document opened; instead, they appear one box at a time, as you page through the document -- so you have to manually close this error pop-up box hundreds of times.
    Meanwhile, the problem is not with the image files themselves.  Simply manually re-linking to the exact same image file corrected the image preview in each instance, for my Books 2 & 3.  This would inevitably seem to suggest the image file was never actually damaged or incompatible. 
    However, in my Book 1, re-linking an image caused the program to crash each time I tried it.
    The images themselves are EPS, not TIFF, and are listed in the links palette as such.  I assume that it's simply the image preview which is a TIFF -- however, the pop-up box should be more illuminating for your users who don't do this for a living.
    Meanwhile, the status of each buggy link is listed in the Links palette as "Okay." The inability to see the image correctly (and having to close a pop-up box each time you land on that page) is not, in my book, "okay."
    I am planning to immediately un-install CS5 and return to CS2; I cannot possibly go through the laborious process of re-linking hundreds of links to image files that are perfectly fine.  However, I wanted to post this feedback for the benefit of other users, or in hopes that the bug will be fixed.  I love my InDesign and am very disappointed that CS5 is handling my documents so erratically.

    Hopefully you haven't already saved the new file over the old version. Under no circumstances do you want to do that as there is no way to go back without having CS4 and CS3 to work through.
    That said, if your CS2 file is still intact, try exporting it to interchange format (.inx), then open the .inx file in CS5 (or CS5.5 which is the current release, and not the same as CS5).

  • Problems converting from XI to XI R2

    I have an application which was written using vb.net (vs 2003) and Crystal XI.
    It now needs to be upgraded to vs 2005 and Crystal XI R2.
    In the old app we did not use a ConfigureCrystalReports() routine, and we did not bind to a data source.
    The report was bound to a dataset, and no credentials are in evidence as being passed to access this dataset. The dataset did NOT contain procedures and functions only tables.
    To run the report we had this code:
    Dim myDA As New SqlClient.SqlDataAdapter
    Dim myDS As New dsJobOverView
    'Load the data set with the 'heading' information
    LoadReportSummaryInfo(myDA, myDS)
    myReport = New ContactInformationListingIVRandEmail
    'Set myReport to use the dataset
    myReport.SetDataSource(myDS)
    myReport.PrintOptions.PaperSize = CrystalDecisions.[Shared].PaperSize.PaperLetter
    'Turn on and off various buttons etc.
    CrystalReportViewer1.HasCrystalLogo = False
    ...blah blah blah...
    This will not compile under 2005 as it does not recognize the report ContactInformationListingIVRandEmail as an object name, also when we tried to convert and use the other methods outlined we are asked for login credentials to access the dataset... there are none... so how do I make use of the older method.. or is it possible to do something like the older method, where we fill the dataset, declare which report then bind it all together... I cannot find a sample of this for Crystal XI R2.

    Please find a sample dataset app in the Business Objects Developer Library :
    [CRXIR2 - Web and Windows projects (Visual Studio .NET 2002/2003 and Visual Studio 2005) |http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/en/CrystalReports_dotNET_SDK/crsdk_samples_aspx/data/crsdk_net_tutorials_115_en.zip]
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm

  • Problem Converting from MSWord Doc to PDF

    We're new to Acrobat 8 and just used it to convert a Word document. The document is a single page flyer including text, a jpg and a coupon composed of text and several tables.
    After a couple of adjustments to the word doc it converts o.k. with one exception. That is, the pdf image (text, jpg and coupon) is only about 95% the size of the original.
    Any suggestions? We might be able to get by, but would prefer the pdf image be full size. Thanks.

    Does WORD print that way to any other printer? Does the Preview show the reduction? You might check the printing defaults under the Advanced tab in properties. In the defaults screen select layout and the Advanced button. There is likely a button that indicates scaling. See if that is the issue. Also be sure you have the correct paper selected.

  • Problems converting from .ai to .eps/.pdf

    I recently designed a logo for a client that included both a gradient and transparency.
    I flattened the transparency, expanded the strokes and embedded the text before saving a copy of it in .eps and another in .pdf (PDF/x-1a:2003)
    When I opened both files in Preview, I found these two problems:
    I didn't have this problem when I saved the file in other formats (.jpg, .png)
    What caused this and how can I fix it?
    Also, while I'm here, is PDF/x-1a:2003 preset optimized specifically for printing?
    Thank You!

    JPG and PNG are mostly for web work and essentially rasterize the art--the problems you're seeing are the result of stitching (a process that takes place when transparency is flattened)--if you are prepping files for 'print house'-- DON'T FLATTEN transparency or expand strokes, embed text. or save as .eps or PDF/x-1a--instead--just save as .ai and .pdf (use the 'illustrator default' PDF setting) that will allow the print house to use their RIP to process the file(s)--unless of course, the print house has 'specific' settings they want for PDFs--in which case, call and ask what setting they prefer (note: the illustrator default PDF setting will generate a larger file, but that's why there is so much portable media available-ie-CDs, DVDs, thumb drives, and a variety of free FTP sites to send files to printers).

  • About encoding convertion from ISO8859-1 to GBK

    Hi,
    i tried to convert a string of 000"testline"111 from iso8859-1 to gbk.
    here is the code:
    // db stores data in iso8859 encoding
    String contractname = rs.getString("contractname");
    // change it to gbk
    String contractnamegbk = new String(contractname.getBytes("ISO8859-1"),"GBK");
    my test page uses GBK charset
    and when i display it on the page using <%=contractnamegbk %>
    it only shows me 000 missing the "testline"111
    anyone knows what the problem is?
    thanks very much

    man i still have problem converting from 8859 to gbk
    i think string is just string, it represents that
    single piece of data wherever it is stored, on
    windows,unix or other systemIn Java a String contains UNICODE characters. I say again, UNICODE characters.
    >
    the difference is that system might use different
    encoding to read what this data is,so they
    getbytes(in some encoding) hoping to know what it is.No! getBytes() converts the UNICODE characters contined in the String to an array of bytes using the encoding specified. If you don't specify an encoding it take the default encoding which is platform and Locale delendent.
    >
    i use this
    String gbkstring = new
    String(paraStr.getBytes("ISO8859-1"),"GBK");
    i think data transferd from a iso8859 database to my
    testpage, and i should use the same way to decode it
    to what it is and i then use GBK to store or display
    it.NOI NO NO! As I said in my first post, this first creates an array of bytes which are the ISO-8859-1representation of the characters in the String and then pretends that these are GBK encoded and tries to create a String from them. It does not convert ISO-8859-1 to GBK. I say again, it does not convert ISO-8859-1 to GBK.
    >
    and it works.but when i tried to convert 000"test
    word"111 it still displays 000 missing the rest
    I don't understand what you mean here.
    The bottom line is that when you get the String from the database, whatever the coding was in the database, once you have it as a Java String the content is UNICODE characters. If the database stored it as ISO-8859-1 then hopefully the JDBC driver performed the correct conversion to turn it into UNICODE.
    Java Strings contain UNICODE characters. Java Strings do not contain ISO-8859-1 characters. Java Strings do not contain GBK characters. Java Strings contain UNICODE characters.

Maybe you are looking for

  • Pass parameter to BI report through link in IC webclient

    HI I need to call a BI report through a link in Icwebclient search view. I need to capture the input  field values entered by user in IC webclient search view by clicking a link or button in the view.How can I call a BI report with these values witho

  • FORALL Exception handling problem

    Hi All, I have one doubt in forall exception handling. I have gone through the SAVE EXCEPTION for bulk collect but i have one more query BEGIN FORALL j IN l_tab.first .. l_tab.last INSERT INTO exception_test VALUES (l_tab(i)); EXCEPTION END; My requi

  • When do you need Internet Tethering rather than Blackberry Bridge?

    I've been using my new Playbook Bridged to my Bold 9700 since I got it. Since I've been able to get to every site I wanted to get to on the browser all of this time using the Bridge, I didn't even know about Tethering. Today I was attempting to setup

  • 0xc000035b error during windows integrated login

    I've been trying to setup an ADFS SQL farm. I've been running into an issue when trying to authenticate a use using Windows Integrate Authentication. I get it in all the browsers that I've tried (IE, Firefox, Chrome). What's happening is that the HTT

  • SAP Document Access by Open Text - can it recognize barcode and identify document number from barcode.

    Hello all, for SAP Document Access by Open Text - can it recognize barcode ? As well identify document number from barcode ? With this document number can we configure the business transaction to which this scanned barcode could be attached as attach