Sunday, March 16, 2014

After Effects Error Could not Convert Unicode Characters [SOLVED FULLY]

After Effects Error Could not Convert Unicode Characters 23:46

This After Effects error is one of the most annoying since it has many forms even though the cause is the same for all.

The online forums and Adobe help all tell you that it is a language problem. That this is caused by faulty folder install or the file name you are trying to import, however they missed one.
If your last imported files/folder gets corrupted (meaning a name with non roman characters), you will get this "After Effects Error Could not Convert Unicode Characters 23:46". This can even happen after succesfully importing the first time.

I discovered the third way of getting this error when importing folders that were used on a Mac. After a succesful import in After Effects, windows somehow added a "・" (interpunct). It could be that mac had already put it there or some other chracter was there that windows could not convert however I did not notice it beeing there before.


So what is the problem? The problem is always the case that AE cannot read a character that you/system is forcing it to read.

I have defined three main causes and listed their solutions :
  1. SUDDEN ERROR (using ctrl+I, File>>import, drag and drop)
    If After Effects was working perfectly and out of nowhere you get this error because your last imported file/folder(s) has been corrupted meaning the name contains a non-roman character

    [Solution]
    Find the folder you last used when succesfully importing and change the name of the corrupted file(s).
  2. ERROR WHILE selecting the actual file
    If you get as far that you can select the file you want to import, then the problem lies in the file name.

    [Solution]
    Rename the file to a simple name with only roman characters.
  3. ERROR general case
    In the general case your After Effects installation text file has gotten corrupted somehow and AE is trying read non-roman characters as part of its translation efforts.

    [Solution]
    For this Adobe suggests the following:

    The following error occurs when you start or use After Effects CS3, CS4, or CS5:
    "After Effects error: Could not convert Unicode characters. (23::46)"

    Replace the AMT.zdct file for the target language.


    Mac OS







    1. Open the Applications/Adobe After Effects CS5 (or CS3 or CS4) folder.

    2. Right-click the Adobe After Effects CS4 application icon and choose Show Package Contents.

    3. Open the Content/Resources/AMT Languages folder.

    4. Note the name of the .txt file in this folder, which is the code for the language that After Effects was installed in.  This language is the target language. For example, US English is en_US, Turkish is tr_TR, Russian is ru_RU, and so on. A list of commonly used language codes is available here.

    5. Go back to the Resources folder and open the AMT folder.

    6. Open the folder named with the target language code you identified in step 4.

    7. Place a tilde character (~) at the beginning the AMT.zdct filename. This step causes After Effects to ignore the file, but preserves this file as a backup.

    8. Go back to the AMT folder and open the folder for en_US.  (You can also choose other languages that are unaffected by this problem, such as fr_FR for French or es_ES for Spanish.)

    9. Copy the AMT.zdct file from this folder to the target language folder, from step 6.  To copy the file, hold down the Option key while dragging it from one folder to the other. Or, select the file and choose File > Duplicate, then move the file to the other folder and remove "Copy" from the end of the filename.

    10. Launch After Effects.

    Windows







    1. Open the Program Files\Adobe\Adobe After Effects CS4 (or CS3)\Support Files\AMT Languages folder.

    2. Note the name of the .txt file in this folder, which is the code for the language that After Effects was installed in.  This language is the target language. For example, US English is en_US, Turkish is tr_TR, Russian is ru_RU, and so on. A list of commonly used language codes is available here

    3. Go back to the Support Files folder and then open the AMT folder.

    4. Open the folder named with the target language code you identified in step 2.

    5. Place a tilde character (~) at the beginning the AMT.zdct filename. This step causes After Effects to ignore the file, but preserves this file as a backup.

    6. Go back to the AMT folder and open the folder for en_US.  (You can also choose other languages that are unaffected by this problem, such as fr_FR for French or es_ES for Spanish.)

    7. Copy the AMT.zdct file from this folder to the target language folder, from step 4.  Select the file, choose Edit > Copy, navigate back to the target language folder, and choose Edit > Paste.

    8. Launch After Effects. 

    Additional information


    The AMT.zdct files contain text phrases for menu items that are translated for specific languages. A problem in After Effects prevents it from translating special characters used in some languages correctly if the OS language does not support those characters.
    After Effects was installed in a language that uses a non-Roman Unicode or Cyrillic character set on an OS that doesn't match the language. For example, you installed After Effects in Turkish on an English OS.
    Affected languages include:
    • Arabic
    • Chinese, Simplified
    • Chinese, Traditional
    • Greek
    • Hebrew
    • Japanese
    • Korean
    • Romanian
    • Russian
    • Turkish
    • Ukrainian

Saturday, May 11, 2013

IE8 CSS Hack

Using IE8 CSS Hack


You can use the ie8 css hack to force internet explorer to accept your @media queries. The ie8 css hack circumvents the inherent blockage/neglect by internet explorer. After finding the great solution to browser responsive CSS with @media queries you probably cried when finding out they don't work in IE9 and earlier.


This is normal use of: @media 
IE8 CSS Hack
IE8 CSS Hack
The above is discarded by IE9 and earlier. A way around this problem is by using the ie8 only css hack. 

To target IE 6 and 7

@media screen\9 {
    body { background: red; }
} 


To target IE 6, 7 and 8

@media \0screen\,screen\9 {
    body { background: green; }
} 

To target IE 8

@media \0screen {
    body { background: blue; }
} 

To target IE 8, 9 and 10

@media screen\0 {
    body { background: orange; }
} 

To target IE 9 and 10

@media screen and (min-width:0\0) {
    body { background: yellow; }
} 

Big thanks to Keith Clark for finding this ie8 css hack for @media queries.
It does not solve everybody's problem depending on your exact coding but using this css ie8 hack can help in some instances.

IE7 CSS hack

Using IE7 CSS Hacks

You can use ie7 css hacks to force internet explorer to accept your @media queries. After finding the great solution to browser responsive CSS with @media queries you probably cried when finding out they don't work in IE9 and earlier.

This is normal use of: @media 
IE7 CSS hack
IE7 CSS Hack
The above is discarded by IE9 and earlier. A way around this problem is by using CSS Hacks

To target IE 6 and 7

@media screen\9 {
    body { background: red; }
} 



To target IE 6, 7 and 8

@media \0screen\,screen\9 {
    body { background: green; }
} 

To target IE 8

@media \0screen {
    body { background: blue; }
} 

To target IE 8, 9 and 10

@media screen\0 {
    body { background: orange; }
} 

To target IE 9 and 10

@media screen and (min-width:0\0) {
    body { background: yellow; }
} 

Big thanks to Keith Clark for finding the ie7 css hacks out
It does not solve everybody's problem with @media queries. The css hack ie7 works, depending on your exact coding but it can help in some instances.