Unreadable characters in files

I was wondering how I could do the following.
If you hex edit a wav file you see a jumble of readable text plus strange characters.
I want to store , say the first 20 characters from a wav file so that I could reproduce them again at a later time.
I know I can store the ascii equivent of the readable text as a numeric representation, but how could I store the unreadable characters in a positve(+) number to represent them, so that I can restore them later.

I was wondering how I could do the following.
If you hex edit a wav file you see a jumble of
readable text plus strange characters.You see 'bytes' but not necessarily 'characters'.
>
I want to store , say the first 20 characters from aI assume you mean 'bytes' not 'characters'
wav file so that I could reproduce them again at a
later time. Store the bytes in a byte array - not characters.
I know I can store the ascii equivent of the readable
text as a numeric representation, but how could IHow do you know this? In what context?
store the unreadable characters in a positve(+)
number to represent them, so that I can restore them
later.If you have stored the bytes in a byte array then you can restore them from the byte array. I don't understand your need for a 'positive number'!

Similar Messages

  • Strange-shaped fonts and unreadable characters in the PDF file

    Hello,
    A colleague of mine printed out a PDF file that I generated. Some of the fonts in the printed PDF file appear out-of-shape (slightly squiggly but still readable). These fonts are in plain body text and some of the heading styles. In addition, unreadable characters appear for fonts in the PDF where a keyboard input character format was specified in the source (in Framemaker a different character format can be specified for individual words within a paragraph format).
    He printed this PDF file a total of eight times. For the first five times there were no issues, but in the last three times the problems occured.
    He printed the files from the same printer and some of the printing was with the PCL profile, while others were with the PS profile.
    My colleague viewed the files using Adobe Reader 8 running on Windows XP.
    My PC is also Windows XP. The document source is FrameMaker 7.2. When generating the file, I used Acrobat Distiller 8.0. It is compatible with Acrobat 5.0 (PDF 1.0). The Acrobat Reader I have on my PC is Acrobat 8.0.
    Thanks,
    Ken

    I'm using acrobat 8.1.0 and I believe I have the same problem as Ken.
    However, I have a question. If the fonts simply weren't installed, wouldn't they also appear as weird characters when looking at a soft copy in acrobat? Why would the problem only occur when printing?

  • Why Outlook email messages show unreadable characters

    When you receive a new email in Outlook, you may see unreadable characters in the email message body. This issue could be caused by one of the following reasons on Outlook client side:
    The email you received is converted to plain text format or a different encoding by a virus scanner. 
    This always happens when you are using characters (Such as apostrophes, double quotes, dashes, and ellipsis) supported by the "Smart Quotes" feature. When the email you received is converted to plain text format or a different encoding by a virus
    scanner, the character is converted from the ASCII character to a Unicode character, which is not supported on the recipient’s side.
    To prevent this issue from happening, we can turn off the “Smart Quotes” Feature in Outlook:
    1. Open Outlook 2013.
    2. Click File > Options > Mail.
    3. Click Spelling and AutoCorrect button.
    4. In the Editor Options window, click AutoCorrect Options button to open the AutoCorrect dialog.
    5. Click AutoFormat tab, and then clear the check box before “Straight quotes” with “smart quotes” under Replace heading.
    6. Click OK.
    The issue may be related to font substitution when a change is made to the Web Options in Microsoft Word. 
    If a change is made to the Web Options in Microsoft Word, registry data under the following key may be configured incorrectly:
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Word\Internet\Fonts
    This problem has been seen to occur when the Latin string value under the \Fonts key was empty (no value). 
    We can check the Web Options setting in Word via:
    1. Start Word.
    2. Go to File > Options > Advanced.
    3. Scroll down to the General section, click Web Options button.
    4. Switch to Font tab.
    To resolve the problem, we need to delete the \Fonts registry key. To do this, please follow:
    1. Exit Word.
    2. Press Windows key + R to open the Run command, type regedit and press Enter.
    3. Navigate to:
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Word\Internet\Fonts
    4. Right-click the Font key and select Delete.
    5. Click Yes and exit Registry Editor.
    The sender used an e-mail program that did not mark messages with a language encoding (character set), or marked messages with an incorrect encoding setting.
    In this case, we will see unreadable characters when we open the received message in our Outlook. For example, European regional characters (like German) require UTF-8 encoding protocol. So if the encoding in your environment is set to ASCII, the regional
    characters will not be available. 
    To resolve this issue, we need to change the encoding in Outlook to which will display your message correctly.
    1. Double-click to open the message you received.
    2. Click Actions button in the Move group under Message tab.
    3. Click Other Actions > Encoding.
    4. Click More and select the correct encoding setting for the email.
    5. After you finish reading the message, close the message, and click Yes button to save changes to the message.
    When we send an email with Outlook, we can set Outlook to automatically select encoding for outgoing email messages to increase the possibility that the recipient receiving the message will see all the characters rendered properly, even if they run older
    e-mail programs. By default, Outlook 2013 will automatically select an optimal encoding for outgoing e-mail messages. We can change the settings here in Outlook 2013: File > Options > Advanced > International Options section.
    Something you may need to know when you set the encoding settings:
    * The Unicode (UTF-8) character enables the complete range of characters on all computers. It’s the official IANA code for the UTF-8 character encoding.
    * Western European (ISO) and Western European (Windows) character set can be read by almost all computers.
    * If you are using a language other than English, you must choose the correct character set for that language, or the characters you need will not be displayed correctly.
    If you have any comments on this article, please feel free to post here.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    The "problem" is not really a problem. I send and receive emails fine. But the in the panel between the Inbox (message queue) and the reading pane this is displayed:
    From Mozilla Support Forum <[email protected]> (white star)
    Subject Toad-Hall posted an answer to your question "Why do received email messages show they are addressed to an address other than my own?"
    Reply to [email protected] (white star)
    To [email protected] yellow star)
    cfortso@gmail is the address of one of my contacts.
    This glitch is not really bothersome, I just can't imagine why it happens.

  • Print unreadable characters and extra pages on Xerox 3050

    We only have a Xerox 3050 Printer. Jetform server has setup it as Default printer. We have compiled our forms with 'Window default print driver' option. When merging DAT file into this printer, it printed most correct information but with some unreadable characters and also printed some extra pages with totally unreadable characters.
    For the same forms, we have also compiled with PDF driver. When merging the same DAT files into the PDF files, they showed and printed correctly.
    Is Xerox 3050 printer driver not supported by Jetform server, or other reasons?
    Thanks in advance.

    Hi AngeloC, and a warm welcome to the forums!
    I've seen this before, now let's see if I remember the cure!
    Safe Boot from the HD, (holding Shift key down at bootup), this will clear the font caches for one thing, then run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Reboot.

  • I finished adding my transtions to my timeline.  I was having crashing issues so I shut down everything before I rendered the project and now it tells me that the project is unreadable or the file is too new for this version of final cut. What Happened?

    I finished adding my transtions to my timeline.  I was having crashing issues so I shut down everything before I rendered the project and now it tells me that the project is unreadable or the file is too new for this version of final cut. What Happened?

    What Happened?
    No way for us to know.  But if your system was crashing, there definitely was a problem.  The FCE error message you got normally indicates the FCE project file has been corrupted.  This probably happened due to whatever caused your system to crash & shutting down the system.
    First, make sure your system is running correctly.  Then, use the Finder to navigate to /users/yourusername/Documents/Final Cut Express Documents/Autosave Vault and find the most recent backup copy of your FCE project file.  Copy the file to your Final Cut Express Documents folder (copy the file, don't just move it).  Then double-click the copy to open it in FCE.  It should open ok, but will probably not have your most recent edits (transitions).  You may have to rebuild the transitions, but at least you will be back in action.

  • File not found when using write characters to file

    OK, I am missing something really basic here.  Whenever I try to use the Write Characters to File function, if I try to give it a path beyond the C:\filename directory, it returns an error.  In other words, C:\Dan works, but C:\Dan\Test reurns an error. WHAT am I missing?

    Bingo! That is the problem. You have to make sure the directory exists before you attempt to write files to it.
         BTW: In LV there is a function for creating folders programatically. A good way to see if a directory exists is to attempt to list its
                   contents. If the list function returns an error, the directory doesn't exist and you have to create it.
    So make use of the error that the file write returns. If you get an error, start at the root of your path and test to see if each level exists, and if not create it. When you have all the folders in place repeat the file save.
    Mike...
    Message Edited by mikeporter on 05-24-2007 12:55 AM
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • BIG PROBLEM: CSS files not loading because of international characters in file name

    I have Muse Beta 7 in Spanish.
    The program creates a css file called master_a-página-maestra.css in css folder. It is referenced in the resulting HTML code here:
    <!-- CSS -->
      <link rel="stylesheet" type="text/css" href="css/site_global.css?3951792836"/>
      <link rel="stylesheet" type="text/css" href="css/master_a-p%c3%a1gina-maestra.css?fileVersionPlaceholder"/>
      <link rel="stylesheet" type="text/css" href="css/index.css?3948175564"/>
    When you work locally in your Windows formatted har drive, everything looks fine, but when you upload your files to a server, everything is screwed up. The server doesn't recognizes the URL and returns an error page, resulting in style errors in the entire site.
    This can also happens with html files if the title of the page contains international characters or with images if the image file name in your Hard Drive contains international characters.
    I already pointed out long time ago Muse was generating file names with international characters like á, ñ, etc but nobody cared about it. Too bad. I had to activate file name customization but I think that Muse should replace automatically this characters in the same way that it replaces other conflictive characters like commas or ampersands.
    This is not a fault of the FTP client. Accented characters are not web safe regardless of the FTP client you are using. It is a server side issue. Some servers support it some others don't. I don't mind if it works in Adobe Catalyst server because the final website is going to be in another server and maybe next year when paid hosting is ended the client may move it to another server.
    It makes more sense to replace accented characters in file names by their not accented equivalents ('a' instead of 'á', 'N' instead of 'Ñ', etc) and avoid all this problem.

    Zak, It is funny you mention it, because the site I am talking about is hosted in 1and1. try this: http://www.artofwalls.com/rosannawalls/biografía.html
    As you can see, the offending "í" in the file name causes 1and1 server to throw a "page not found" error. And this has happened with many other servers I have tried since.
    Muse boast of generating code fully compatible with all major web browsers but by using international characters in file names it ggenerates code suitable only for very few web servers. International characters have been always a no-no for internet URLs. Internet was designed by people who didn't care about ascii codes beyond 127 so using international characters in html file names is just call for problems.
    "to work with your hosting provider to determine how to enable Unicode encoded (UTF-8) file names and HTML files on their servers" is not a viable solution most of the time unless you are a Very Important Client of your host provider. If not, making changes means money for them and if you are the only one who complains, they are going to just tell you to not use international characters in your names.

  • Mail.app hang if mail attachment have special characters in file name

    Hello,
    I have upgraded to 10.5.1 from last version of Tiger.
    After upgrade is not possible send message with attachment which have a czech special characters in file name (like á, í, é, ý, ú, ů, ě, š, č, ř, ž) with Mail.app. If I try it, CPU is overloaded and I must kill Mail.app process.
    The same problem have my friends who are running a clear installation of Leopard 10.5.1.
    Thanks for correction.

    I have the same problem with Hungarian chars. I tried out Tomas suggestion and it really worked. It is so dissaponting to have this kind of bug in a system like this. They never tested against this situation.
    I hope somebody at apple read this discussion and somehow this will be fixed in the near future.

  • Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type a

    Dear Team,
    Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type. Could you please do needful. Thank you

    Hello,
    most recent patches for IGS and kernel installed. Now it works.

  • How to Make Itunes Recognize Foreign Characters in file names?

    How to Make Itunes Recognize Foreign Characters in file names?
    Any Body, please
    DELL Windows XP Pro

    That's not how it's supposed to work according to this: http://www.griffintechnology.com/support/italkpro/
    By default, a playlist will be created in iTunes called "Voice Memos" and those files will be transferred there automatically. The files themselves can be found on your computer in your iTunes Music folder in Unknown Artist > Unknown Album.
    It may be worth working through any trouble shooting articles on that site.
    Regards,
    Colin R.

  • Sqlldr does not understand unicode characters in file names

    Hello,
    I am trying to call sqlldr from a .net application on Windows to bulk load some data. The parameter, control, data, log files used by sqlldr, are all located in the C:\Configuración directory (note the unicode character in the directory name).
    Here is my parfile:
    control='C:\Configuración\SystemResource.ctl'
    direct=true
    errors=0
    log='C:\Configuración\SystemResource.log'
    userid=scott/tiger@orasrv
    When I make a call as
    sqlldr -parfile='C:\Configuración\SystemResource.par'I am getting
    SQL*Loader-100: Syntax error on command-line
    If I run it as
    sqlldr -parfile='C:\Config~1\SystemResource.par'I am getting
    SQL*Loader-522: lfiopn failed for file (C:\Configuraci├│n\SystemResource.log)
    If I remove the log= parameter from the parameter file, I am getting
    SQL*Loader-500: Unable to open file (C:\Configuraci├│n\SystemResource.ctl)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    Can anyone suggest a way to handle unicode/extended ASCII characters in file names?
    Thanks,
    Alex.

    Werner, thank you for replying to my post.
    In my real application, I actually store the files in %TEMP%, which on Spanish and Portuguese Windows has "special" characters (e.g. '...\Administrador\Configuración local\Temp\'). In addition, you can have a user with the "special" characters in the name which will become part of %TEMP%.
    Another problem is that 8.3 name creation may be disabled on NTFS partitions.
    Problem #3 is that the short file names that have "special" characters are not converted correctly by GetShortPathName windows API, e.g. "Configuración" will be converted to "Config~1", but for "C:\ración.txt" the api will return the same "C:\ración.txt", even though dir /x displays "RACIN~1.TXT". Since I am creating the parameter and control files programmatically from a .net application, I have to PInvoke GetShortPathName.
    Any other ideas?
    Thanks,
    Alex.

  • French Characters in File Names

    Hello,
    Despite my instance not use French and/or other special
    characters in files names, we have inherited a project (approx 2500
    topics) with French characters in the file name. When we generated
    the project and post it on an Apache server, the topics do not
    display as the server replaces the characters with symbols.
    RX5, during the generation process, replaced the French
    characters with underscores, RX 7.0.1 keeps the characters within
    the file name. In RX 7.0.1 is it possible to replace the characters
    with underscores during the generation process?
    Regards,

    If this is the other thread, then you did get a response, several in fact. It may not have been the answer you wanted but that's another matter.
    http://forums.adobe.com/message/129875#129875
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Unreadable characters in SM21 after Unicode Conversion

    Hi all,
    After upgrading from BW 3.1 content to BI 7.0, I did unicode conversion.
    Now in tcode SM21, all log messages are in unreadable characters.
    I tried applying SAP Notes 688089 and  45580, but no use.
    Pls give me some inputs on this regard
    Thanks
    Karthikeyan

    Issue got resolved.
    Have to delete a logfile generated OS level in global folder then restart the SAP instance.

  • Pls help.JSP: I could not store Chinese characters into files.

    Hi experts,
    I have this problem of cant store chinese characters into files(eg. .txt and .properties). I am adding
    these chinese text through a JSP website form....After i key in chinese characters in the textboxes
    in the website and sumbit the results, my chinese characters turned into ASCII or rather garbage in
    the files.
    Is there any way i can get the exact chinese characters i entered in the webite into the files?
    Need urgent assistance here.
    Thanks
    <%@ page contentType="text/html; charset=big5" %>
    <html>
    <head>
    <title>Confirmation</title>
    <meta http-equiv="Content-Type" content="text/html; charset=big5">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    </head>
    <%@ page language="java"%>
    <%@ page import="java.io.*"%>
    <%@ page import="java.lang.Integer.*"%>
    <%@ page import="java.sql.*"%>
    <%@ page import="java.sql.ResultSet.*"%>
    <%@ page import="javax.servlet.*"%>
    <%@ page import="javax.servlet.http.*"%>
    <%@ page import="java.text.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.net.URL"%>
    <%
    //getting attributes from previous page form
    //At this point, chinese characters r retrieved
    //Ascii/garbage displayed for text when retrieved from previous page.
    String gameName=request.getParameter("name");
    String encode=request.getParameter("encode");
    String gameType=request.getParameter("type");
    String info=request.getParameter("description");
    int check=0;
    int nextGameID;
    String temp="";
    String langCode="";
    //establish connection
    Connection con = null;
    try {
    Class.forName("org.postgresql.Driver");
    con = DriverManager.getConnection("jdbc:postgresql://172.20.134.110:5432/smsINTFET" , "postgres",
    "postgres");
    catch(ClassNotFoundException e) {
    out.println("Could not load the driver: "+e.getMessage());
    catch(SQLException e) {
    out.println("SQLException caught in relax db: "+ e.getMessage());
    Statement stmt = null;
    ResultSet rs = null;
    ResultSet ps = null;
    String strSQL = "";
    String strSQL2 = "";
    String tempCat = "";
    strSQL="SELECT gamename FROM cp_games order by gameid;";
    try {
    stmt = con.createStatement();
    rs = stmt.executeQuery(strSQL);
    stmt.close();
    catch(SQLException e) {
    out.println("SQLException caught: "+ e.getMessage());
    while(rs.next())
    check=0;
    temp=rs.getString("gamename");
    if(temp.equalsIgnoreCase(gameName))
    // there is similar record in database
    check=1;
    break;
    else
    check=0;
    if(check==0)
    %>
    <body background="button/bkgd.jpg" bgproperties="fixed">
    <p><b><font size="30pts" face="Monotype Corsiva">Confirmation</font></b></p>
    <HR style="WIDTH: 500px; COLOR: blue; HEIGHT: 3px">
    The following information has been added.
    <table width="75%" border="0" cellspacing="0" cellpadding="2">
    <%
    String strCat="";
    strCat="INSERT INTO cp_games(gamename,description,encode) values('"+gameName+"','"+info+"','"+encode+"');";
    stmt = con.createStatement();
    stmt.executeUpdate(strCat);
    System.out.println("Successful inserted category");
    stmt.close();
    //setting language
    if(encode.equals("ascii"))
    langCode = "US";
    if(encode.equals("ms950"))
    langCode = "TW";
    if(encode.equals("ms936"))
    langCode = "CN";
    strSQL2="SELECT gameid FROM cp_games where gamename = '"+gameName+"';";
    try {
    stmt = con.createStatement();
    ps = stmt.executeQuery(strSQL2);
    stmt.close();
    catch(SQLException e) {
    out.println("SQLException caught: "+ e.getMessage());
    ps.next();
    nextGameID=ps.getInt("gameid");
    out.println("<B>The game number : </B>" + nextGameID);
    %>
    <tr>
    <td><B>Game added: </B><%=gameName%>
    </td>
    </tr>
    </table>
    <%
    String newFile="G:\\home\\smsGamesINTV2\\colorGame\\propertiesFiles\\FET\\CP_Game"+nextGameID+"_"+encode+"_"+langCode+".properties";
    try
    {               //begin file
    PrintWriter outFile=null;
    //create a new file and write the initial settings to file
    outFile=new PrintWriter(new FileOutputStream(newFile,true));
    outFile.println("game_intro="+nextGameID+")"+gameName+" - "+info);
    outFile.println("");
    outFile.println("game_title="+gameName);
    outFile.println("");
    outFile.println("game_type="+gameType);
    outFile.println("");
    outFile.println("qns_no=0");
    outFile.println("");
    outFile.println("ana_no=0");
    outFile.close();
    }//end file
    catch(IOException e)
    out.println("File Create Error");
    else // no match found
    out.println("Game,"+temp+ " already added");
    %>
    </body>
    </html>

    try to add this code under this line:
    <%@ page contentType="text/html; charset=big5" %>
    <% response.setContentType("text/html; charset=big5"); %>
    I have faced the problem like yours and it works fine for me. Try and see.

  • How to do complex file search for "word" unknown characters "word" .file extension?

    How to do complex file search for "word" unknown characters "word" .file extension?

    Using spotlight in Finder helps. Do you know how to search for files in Finder?

Maybe you are looking for