Which ASCII Characters are acceptable?

I'm trying to clean up my iPhoto library so it'll sync with my iPhone. One possible cause I've seen mentioned here is the use of non-standard ASCII characters in Keywords, Album names, etc.
Can you wise folks provide a bit more info here?
FIRST QUESTION: I'm trying to figure out exactly which characters need to be eliminated. Are the following characters allowed or not?
. Period
, Comma
- Hyphen
_ Underline
( ) Parentheses
(space)
& Ampersand
123 Numbers
These seem like relatively common characters, so I'm hoping I don't have to remove every one of them. It would be especially difficult to remove every "space" from every title.
SECOND QUESTION: Exactly which fields do I need to clean up?
- Keywords (definitely)
- Albums?
- Film Rolls (I hope not)
- Photo Titles (please say no...)
Please help! Depending on the answers, this could either be a manageable project or a week-long chore.
And by the way... If these characters are verboten, why doesn't iPhoto reject them when I first try to enter the data?

Adam
Are you actually having a problem?
There is no list, but when I post that query it's because some people who post here have had issues that were solved when they removed non-ascii characters. Others have found issues when they removed leading and trailing spaces... so (where _ stands for a space)
_keyword
or keyword keyword_
have caused issues, thought the space between keyword and keyword has not caused issues.
So, here's my (not very helpful, I admit) take on it: non_ascii characters are not a problem, trailing and leading spaces are not a problem, unless, of course, they are.
The real issue seems to be that they lead to a malformed albumdata.xml file, which is the file that other apps read to interact with.
I think the best way to examine the albumdata.xml file is the way that Dave E shows:
http://discussions.apple.com/thread.jspa?messageID=3870956&#3870956
Regards
TD

Similar Messages

  • Edit Return Addresses - Invalid hostname. Only US-ASCII characters are allowed.

    On our two C series appliances the C350 and the C660 we can log in to the GUI and go to System Administration \ Return Addresses and change the
    Return Addresses for System-Generated Email to something more meaningful and practical then reports@hostname.  For example we like to use a proper suffix instead of @hostname we use @ourAwesomeCompany.com. Anyway on the M series the M650 we can't change the suffix East of the @ sign.  We get this error:
    Invalid hostname. Only US-ASCII characters are allowed.
    Did any of you, or can any of you change the Return Addresses on your M series?  You don't have to go as far as commiting the changes if you are willing to try this for me, just type something in and hit Submit that should be enough to generate the error.

    Hello,
    We have two M1060.
    When we tested the version 7.7.0-206 or earlier, we found the same problem as you by GUI.
    Recently, we're migrating to 7.9.0-107 and that is right now.
    So, you can migrate without fear

  • Normal string ASCII characters are not shown after using string reversal.

    In a VI that I have written, there is a point where I take a simple 5 character string and input it to a reverse string node.  I also have an indicator on the output of the reverse string node so I can look at the reversed string.  Both the input and output indicators are in normal display mode.   For the input indicator I can see the input string with no problem.  But on the indicator at the output of the reverse string node I see nothing.  If I then put each of the indicators in HEX display mode, both indicators display the hex equivalent characters of the original ASCII characters, and the output indicator shows the characters reversed from that of the input indicator, as expected.  So why when I am in normal display mode, are the characters in the output indicator not showing up?  Thanks.

    What are the ASCII values that you are trying to display?  Perhaps they are non-printable ASCII values.
    Perhaps you can post a simple VI with the values in a string control and saved as a default.
    EDIT:  After seeing Rod's message, that seems very likely, especially considering that there is likely an EOL character if you are doing serial communication with some other device.
    Message Edited by Ravens Fan on 03-23-2009 12:04 PM

  • Non ASCII characters are converted to '?' or ASCII characters

    Non ASCII symbols like æ ø in the xml file have been converted to ? or other ascii characters.
    What could be the reason behind this.

    Mayil wrote:
    This file we are loading through the Flex application in the front end.
    Through java class file we are making changes to this city.xml file and adding and deleting this information in the city.xml.
    Now suddenly, i dont know what happen.. 'ø' in the city name has replaced with the '?'
    If we try to chaange this to 'ø' also, it again changes to '?'.
    I dont know how to rectify this error.I would suggest you start by finding out when it happens. Does it happen as soon as you change the XML through this mysterious "java class file"? Or does it happen when Flex reads it? And is the underlying file actually changing, or are you just seeing those question marks after Flex handles the file?
    In short a much better problem description is necessary.

  • Non ascii characters are padding without reason

    Hi all,
    here is my issue :
    I have description field in my jsp page, when user enters some non ASCII characters as shown below :
    This is user had entered the input string is :
    "Hello ������� Hello" (without quotes)
    When he edits for the first time without change anything in the the string and save, then it became :
    "Hello Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã? Hello" (without quotes)
    Then again one more time, it became :
    "Hello Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â? Hello" (without quotes)
    Like wise it is getting increased its size. I'm saving the data to Oracle 10g database from jsp.
    Please suggest what to do to rectify the problem.
    Thanks & regards,
    Achchayya

    But I didnt changed anything from server.xml except two changes
    1) from : <?xml version='1.0' encoding='iso-8851-1'?>
        to : <?xml version='1.0' encoding='UTF-8'?>
    2)
    from : <Connector port="8888" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="8443" />
    to : <Connector port="8888" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="8443"
                   URIEncoding="UTF-8"/>here is my JSP :
    <%@ page pageEncoding="UTF-8" %>
    <html>
    <head>
    <title>The servlet example </title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    </head>
    <body>
    <h1>A simple web application</h1>
    <form method="POST" action="HelloWorld">
    <label for="name">Enter your name </label>
    <input type="text" id="name" name="name"/><br><br>
    <input type="submit" value="Submit Form"/>
    <input type="reset" value="Reset Form"/>
    </form>
    </body>
    </html>Servlet Code :
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class HelloWorld extends HttpServlet {
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    * Get the value of form parameter
         System.out.println("response char set "+response.getCharacterEncoding());
         System.out.println("request char set "+request.getCharacterEncoding());
    response.setCharacterEncoding("UTF-8");
    String name = request.getParameter("name");
    String welcomeMessage = "Welcome "+name;
    System.out.println("Name : "+name);
    * Set the content type(MIME Type) of the response.
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    * Write the HTML to the response
    out.println("<html>");
    out.println("<head>");
    out.println("<title> A very simple servlet example</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("<h1>"+welcomeMessage+"</h1>");
    out.println("</body>");
    out.println("</html>");
    out.close();
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
         response.setCharacterEncoding("UTF-8");
         doPost(request, response);
    } web.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4"
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <servlet>
    <servlet-name>HelloWorld</servlet-name>
    <servlet-class>HelloWorld</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloWorld</servlet-name>
    <url-pattern>/HelloWorld</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>
    HelloWorld.html
    </welcome-file>
    </welcome-file-list>
    <context-param>
         <param-name>PARAMETER_ENCODING</param-name>
         <param-value>UTF-8</param-value>
    </context-param>
    </web-app>please have a look at my files and suggest me BalusC.
    Thanks for your patience.
    regards,
    Achchayya
    Edited by: achayya on Oct 16, 2009 7:26 AM

  • How to find which junk characters are there in the string

    Hi Guys in my employee table ,I have a field name emp_name
    and the data inside one of the record is 'BUSH ';
    after trimming it ... length(trim(emp_name)) ... I expected the length to be 4,but it still returns 5.So I am wondering what that extra characters after H is.
    Can some one tell me how to find it.
    thanks in advance.

    Hmmm. What you describe is not the behaviour I would expect from a CHAR(10) column. I would expect this:
    SQL> CREATE TABLE bt (col1 CHAR(10));
    Table created.
    SQL> INSERT INTO bt VALUES ('BUSH ');
    1 row created.
    SQL> SELECT length(col1) FROM bt;
    LENGTH(COL1)
              10
    SQL> SELECT length(trim(col1)) FROM bt;
    LENGTH(TRIM(COL1))
                     4
    SQL> What version of the database are you using? Also, what does this query give you?
    SELECT ascii(substr(ename, 5,1))
    FROM emp
    WHERE  substr(ename,1,4) = 'BUSH';Cheers, APC

  • Problems with password including non-ASCII characters

    I am a German language user with a German keyboard but an English OS as main language. Therefore my passwords (simple user and admin) includes non-ASCII characters used in German, French and Spanish language, which increases security. This works fine in the majority of login scenarios. There are, however, 3 scenarios where neither my non-ASCII simple user nor my non-ASCII admin PW are accepted:
    1) running "sudo" in Terminal;
    2) When I try to shut down and another user account is still open. Doing this brings up a login window asking for the PW of the other user that does not accept non-ASCII;
    3) Using Leopard/SnowLeopard CacheCleaner. Upon opening, this app asks for an admin PW, but does not recognize non-ASCII.
    Am I right in assuming that this has to do with non-ASCII PWs? I thought ASCII times were gone given the remarkable language flexibility of Mac OS over the years. I know this stupid problem only from Win XP. There it is even worse.
    Is there a way to overcome this problem without always temporarily changing my PW? Thanks.

    I think the problem is with the applications themselves and should be reported to the developer. Although some non-ASCII characters are acceptable for an admin password, in my experience most Unix systems don't like non-ASCII characters in passwords. It may be easier to avoid them if you can.
    OS X should simply request your admin password to shut down when another user account is open. An alert dialog usually appears warning that the other user is still logged in and giving you the option to log the other account out then shut down. But in my experience the only authorization needed is for your admin account.

  • Username with ascii characters

    Hello, i'm having and html form and i would like the user in
    the username field to type ONLY ascii characters.
    For example, in other fields of the form i
    would like the user to type his mother language but
    as far as the username and password fields are concerned
    the characters have to be ascii.
    How am i supposed to check when the username is accepted/correct (*consists of ascii characters*)?
    and which are the desirable characters a username must have (e.g. *?* is a desirable character in a username , *:* this one?)
    Thanks, in advance!

    g_p_java wrote:
    How am i supposed to check when the username is accepted/correct (*consists of ascii characters*)?ASCII characters are the Unicode characters whose code points are between 0 and 127.
    and which are the desirable characters a username must have (e.g. *?* is a desirable character in a username , *:* this one?)I don't understand this. You have already said they must be ASCII. You have other requirements? Fine, go ahead and program them and ask questions if you have problems with that. Personally I don't think that requiring somebody to have a question mark in their user name is a good idea -- but probably you didn't mean it when you suggested that.

  • Display extended ascii characters as question mark in xml file

    I am creating a XML file with encoding as UTF-8. Some tag values contain some extended ascii characters. When i run the java program to create the file in windows, the extended ascii characters are display correctly. But in linux it is displaying as ?(question mark).
    i am not able to rectify this. can anyone help me....
    Its urgent
    Thanks in advance.
    Message was edited by:
    Rosy_Thomas@Java

    Probably the locale is not set for the shell you are running in. The default 'C' locale uses the ASCII encoding which defines only 128 characters. See if giving the commandexport LC_CTYPE=en_US.UTF-8before starting the program fixes the issue.

  • How can I use ASCII Characters on the iPad?

    I have an iPad (1) and use iOS 4.3.5. Is there an easier Way of using ASCII Characters than having to use the "copy-Paste" procedure? If not, can we expect to see the feature of entering the ASCII code straight through the standard keyboard soon?

    Norisouro wrote:
    . Is there an easier Way of using ASCII Characters than having to use the "copy-Paste" procedure?
    You need to give some details about what it is you want to do, because ASCII Characters are what are already on the keyboard.  It is non-ASCII that you might need to copy/paste.
    http://en.wikipedia.org/wiki/ASCII
    I think you can be sure that Apple is never going to include a feature in iOS that has you input special characters by typing in numbers like Windows does it.  Mac's have always used a different approach.

  • Cannot rename file with non-ASCII characters when using the

    My application moves files from one directory to another by calling File[] srcFiles = srcDir.listFiles() to get a list of files in the source directory, and then calling srcFiles.renameTo(destFile) to rename each file.
    This does not work (renameTo returns false and the file is not moved) under the following circumstances:
    - the file's leaf name contains non-ASCII characters, for example "�"
    - the OS is Solaris 9
    - the LANG and LC_* environment variables are unset, i.e. the C locale is being used
    If I set the LANG environment variable to, for example, en_GB.UTF-8 then the rename succeeds.
    I have tried calling srcFiles[index].getName().getBytes("UTF-8") and the non-ASCII characters are being replaced with ? (0x3f) characters when LANG is unset.
    Is this a bug in the JRE? I would argue that since my code does not actually manipulate the filename (I just use the File object that File.listFiles() gives me) then the rename should succeed. Of course I would not expect the file name to be displayed correctly if I printed it out.
    I have reproduced this behaviour with JDK 1.4.2_05 and 1.5.0_04 on Solaris 9.
    Francis

    Thanks for the info Alan.
    I considered setting the locale in the environment (this sounds like the "correct" fix to me and we might implement it later), but this application shares a WebLogic server with many other applications so we would have to do a huge amount of testing to make sure that the locale change wouldn't break the other apps. In the end I worked around the problem by making the code that generates the filenames in the first place strip out any non-ASCII characters (the names of the files are not critically important).
    Looking forward to JSR-203, in the meantime perhaps a note about this behaviour in the java.io.File javadoc would be useful.

  • Need to find out extended ASCII characters in database

    Hi All,
    I am looking for a query that can fetch list of all tables and columns where there is a extended ASCII character (from 128 to 256). Can any one help me?
    Regards
    Yadala

    yadala wrote:
    Hi All,
    I am looking for a query that can fetch list of all tables and columns where there is a extended ASCII character (from 128 to 256). Can any one help me?
    Regards
    YadalaThis should match your requirement:
    select t.TABLE_NAME, t.COLUMN_NAME from ALL_TAB_COLUMNS t
    where length(asciistr(t.TABLE_NAME))!=length(t.TABLE_NAME) 
    or length(asciistr(t.COLUMN_NAME))!=length(t.COLUMN_NAME);The ASCIISTR function returns an ASCII version of the string in the database character set.
    Non-ASCII characters are converted to the form \xxxx, where xxxx represents a UTF-16 code unit.
    The CHR function is the opposite of the ASCII function. It returns the character based on the NUMBER code.
    ASCII code 174
    SQL> select CHR(174) from dual;
    CHR(174)
    Ž
    SQL> select ASCII(CHR(174)) from dual;
    ASCII(CHR(174))
                174
    SQL> select ASCIISTR(CHR(174)) from dual;
    ASCIISTR(CHR(174))
    \017DASCII code 74
    SQL> select CHR(74) from dual;
    CHR(74)
    J
    SQL> select ASCII(CHR(74)) from dual;
    ASCII(CHR(74))
                74
    SQL> select ASCIISTR(CHR(74)) from dual;
    ASCIISTR(CHR(74))
    J

  • UTF8 Byte Size for ASCII Characters

    In a UTF8 database, are ASCII characters stored as a single byte, therefore using the minimum amount of db space possible? Or are they stored at a fixed amount of 2 or 3 bytes, wasting db space unnecessarily?

    Hi,
    The Ascii characters are single bytes. So don't worry about space.

  • HT5622 what characters are accceptable for a apple icloud password

    what characters are acceptable in the apple id PASSWORD? other than alpha and numbers  i used  a tilde  icloud accepted my password   then later i tried to open itunes and it did not like my pass word stating it did not accept the tilde,  for now  i changed my password    is there a glitch in the o/s?

    And to answer the question in your title, stick to letters (no diacriticals) and numbers - no punctuation, spaces, or odd characters. Your password must be at least 8 characters - 12 would be better - and must include at least one numeral, one lower case character and one upper-case character.

  • How to get the correct length...removing appended extra ascii characters

    I have a table fs_lg_partgroups, having the columns description,subgroupname.
    I have a query like this..
    select description,length(description) from fs_lg_partgroups where subgroupname='FORMULA226';
    Then i got the output as
    formula226 and the length is 42. Even though there are 10 characters only.
    I came to know that some ascii characters are appended to description values, so it is showing the length like this.
    But i don't know how to remove those ASCII characters from description column for all rows to get the exact length.
    Please can u help me..

    If you have used char data type then use varchar2 datatype instead of char datatype for description column.
    Learn about char and varchar2 datatypes here.
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96524/c13datyp.htm#7223

Maybe you are looking for

  • How to set up a list view with easily-added and accessed attachments

    Hi, This may be a case for the Sharepoint designer forums or something similar but I wanted to start with General since I don't exactly know even what I'm asking for yet. Here's my goal - A web-based table of rows of columns similar to Excel where ev

  • Looking for example - abap xslt - that uses xslt document() function

    Hello, I'm looking for an example that shows the use of abap xslt with the xslt document() function.  Using the xslt document() function seems like a straightforward way to use xslt to create a result xml document by processing the content of two or

  • Help!!! iphone 5 rear camera blurry after iOS 7.0.6 update.

    Help!!!! I just updated my iPhone 5 software to iOS 7.0.6. I realized that my rear camera became blurry. It won't focus even if I tap in the middle. There are no physical problems with the camera itself. I checked. Plus the camera is quite fine when

  • Downloaded audio not visible in Music app on iPad 2?

    Hello, Has anyone had this issue reported from students using iPads to access iTunes U material? If so, what did you do about it? A student reported not being able to find downloaded lecture audio files from our private iTunes U site. When he goes to

  • Server Error -OSoft Application-

    Hi Experts , I  am getting eror ,or BPC ecieving error : Server Error in '/OSoft' Application. : No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).] Reagrds Prabhu