Search Unity

Accents inside spanish text like the ó in "camión", not working when exporting to swf

Discussion in 'Flash' started by Juan, Feb 9, 2012.

  1. Juan

    Juan

    Joined:
    May 21, 2009
    Posts:
    142
    Accents inside spanish text like the ó in "camión", not working when exporting to swf

    This is even in a GUI.Text created manually and with the text entered manually in the Unity UI.

    That is very important in every we do in Spain!

    Help please.

    Cheers.
     
  2. Juan

    Juan

    Joined:
    May 21, 2009
    Posts:
    142
    Here you have a pratical sample:

    http://www.bone-studio.com/clientes/juan/accent/accent.html

    As you can see the text in the center has the correct accent, meanwhile the recognized text does not has the correct accent, it has the accent inside Unity, this problem appears just when exporting the SWF.

    and these are the lines of my txt file, it's coded in Unicode:

    Code (csharp):
    1.  
    2. <p><f>camión</f></p>
    3. <p><i>camión</i></p>
    4. <p><b>camión</b></p>
    5.  
    The tags are used to apply one style or another.

    Cheers.
     
  3. Juan

    Juan

    Joined:
    May 21, 2009
    Posts:
    142
    No one here? No clue?

    It is a pretty big deal for non english languajes, help please.

    Cheers.
     
  4. ricardo_arango

    ricardo_arango

    Unity Technologies

    Joined:
    Jun 18, 2009
    Posts:
    64
    Maybe you can try adding the Latin Characters to the swf file, using Flash. But it's a guess of a workaround. The best thing would be for you to file a bug report.
     
  5. Juan

    Juan

    Joined:
    May 21, 2009
    Posts:
    142
    How can i do that?
    I need this really badly, it's completely important for us.

    Cheers.
     
  6. MaDDoX

    MaDDoX

    Joined:
    Nov 10, 2009
    Posts:
    764
    For the record latin-accented characters (á, õ, ü, etc) are fully supported by RageTools Pro's text Generator. It goes completely around the Unity GUI and font system, providing true vector-to-polygon text rendering, which's as low level and compatible as it gets. We've used it in our Unity's Flash competition entry, with a Unity version that was a ridiculously rough beta with tons of unsupported features, yet our text rendering worked without a hitch. You can check it out for yourself here.

    It should go live in the next few days (we're on closed beta atm) but you can read more about it here.
     
    Last edited: Feb 15, 2012
  7. Juan

    Juan

    Joined:
    May 21, 2009
    Posts:
    142
    That's good to know.

    Either way, this will create a polygon per letter, and this can be too hard for my app where we can have long texts, a lot of text.
    But if there is a trial i can test it.

    Either way, again hehe, if there is a way to enter the special characters in the flash, i would like to know please :)

    Cheers.
     
  8. Juan

    Juan

    Joined:
    May 21, 2009
    Posts:
    142
    Ok, it seems to be a problem with the file:

    resources.assets

    inside the folder Temp/StagingArea/Data/

    It seems to be created in ANSI instead of UTF-8 or UTF-16 so where it should be a text like:

    "Desde la creación de"

    There is:

    "Desde la creación de"

    And that is what flash reads.

    Can i do a final compilation of those files with flash develop or something like that?

    Admins, some info about that?

    Cheers.
     
  9. Suminsky

    Suminsky

    Joined:
    Aug 11, 2011
    Posts:
    50
    Did you manage to solve anything?
     
  10. Phifo

    Phifo

    Joined:
    Oct 14, 2012
    Posts:
    9
    any solution on this?