Problem with globalization

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Xavier MT

    #1

    Problem with globalization

    Hi, I have a site that has some text in spanish and it doesn't display well,
    for example with a ñ it displays some weird boxes, can anyone help me or
    point me to some help


  • Steve C. Orr, MCSD

    #2
    Re: Problem with globalization

    Have you tried setting it to use unicode?
    Here's more info on the subject:
    http://msdn.microsoft.com/library/de...gbasetypes.asp

    Also, have you checked the Globalization section of the web.config?
    Try changing it to something more like this:

    <!-- Web.Config Configuration File -->
    <configuratio n>
    <system.web>
    <customErrors mode="Off"/>
    <globalizatio n
    fileEncoding="i so-8859-1"
    requestEncoding ="iso-8859-1"
    responseEncodin g="iso-8859-1"
    />
    </system.web>
    </configuration>

    --
    I hope this helps,
    Steve C. Orr, MCSD



    "Xavier MT" <xmorera@hotmai l.com> wrote in message
    news:O5bA4ZtWDH A.1912@TK2MSFTN GP11.phx.gbl...[color=blue]
    > Hi, I have a site that has some text in spanish and it doesn't display[/color]
    well,[color=blue]
    > for example with a ñ it displays some weird boxes, can anyone help me or
    > point me to some help
    >
    >[/color]


    Comment

    • Xavier MT

      #3
      Re: Problem with globalization

      Just one thing, I've tried some things but my problem is that my strings are
      in a .js and it's when they are written page that it doesn't work.

      BTW thanks for the help, I'll keep on trying...

      "Steve C. Orr, MCSD" <Steve@Orr.ne t> wrote in message
      news:%23Q8jQqtW DHA.388@TK2MSFT NGP10.phx.gbl.. .[color=blue]
      > Have you tried setting it to use unicode?
      > Here's more info on the subject:
      >[/color]
      http://msdn.microsoft.com/library/de...gbasetypes.asp[color=blue]
      >
      > Also, have you checked the Globalization section of the web.config?
      > Try changing it to something more like this:
      >
      > <!-- Web.Config Configuration File -->
      > <configuratio n>
      > <system.web>
      > <customErrors mode="Off"/>
      > <globalizatio n
      > fileEncoding="i so-8859-1"
      > requestEncoding ="iso-8859-1"
      > responseEncodin g="iso-8859-1"
      > />
      > </system.web>
      > </configuration>
      >
      > --
      > I hope this helps,
      > Steve C. Orr, MCSD
      > http://Steve.Orr.net
      >
      >
      > "Xavier MT" <xmorera@hotmai l.com> wrote in message
      > news:O5bA4ZtWDH A.1912@TK2MSFTN GP11.phx.gbl...[color=green]
      > > Hi, I have a site that has some text in spanish and it doesn't display[/color]
      > well,[color=green]
      > > for example with a ñ it displays some weird boxes, can anyone help me or
      > > point me to some help
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Jerry III

        #4
        Re: Problem with globalization

        You can always use HTML entities, for example ñ is &#241; or &ntilde;. You
        need to make sure your page encoding is right and you're using font that has
        the characters you're trying to display.

        Jerry

        "Xavier MT" <xmorera@hotmai l.com> wrote in message
        news:%23rf6IttW DHA.2040@TK2MSF TNGP11.phx.gbl. ..[color=blue]
        > Just one thing, I've tried some things but my problem is that my strings[/color]
        are[color=blue]
        > in a .js and it's when they are written page that it doesn't work.
        >
        > BTW thanks for the help, I'll keep on trying...
        >
        > "Steve C. Orr, MCSD" <Steve@Orr.ne t> wrote in message
        > news:%23Q8jQqtW DHA.388@TK2MSFT NGP10.phx.gbl.. .[color=green]
        > > Have you tried setting it to use unicode?
        > > Here's more info on the subject:
        > >[/color]
        >[/color]
        http://msdn.microsoft.com/library/de...gbasetypes.asp[color=blue][color=green]
        > >
        > > Also, have you checked the Globalization section of the web.config?
        > > Try changing it to something more like this:
        > >
        > > <!-- Web.Config Configuration File -->
        > > <configuratio n>
        > > <system.web>
        > > <customErrors mode="Off"/>
        > > <globalizatio n
        > > fileEncoding="i so-8859-1"
        > > requestEncoding ="iso-8859-1"
        > > responseEncodin g="iso-8859-1"
        > > />
        > > </system.web>
        > > </configuration>
        > >
        > > --
        > > I hope this helps,
        > > Steve C. Orr, MCSD
        > > http://Steve.Orr.net
        > >
        > >
        > > "Xavier MT" <xmorera@hotmai l.com> wrote in message
        > > news:O5bA4ZtWDH A.1912@TK2MSFTN GP11.phx.gbl...[color=darkred]
        > > > Hi, I have a site that has some text in spanish and it doesn't display[/color]
        > > well,[color=darkred]
        > > > for example with a ñ it displays some weird boxes, can anyone help me[/color][/color][/color]
        or[color=blue][color=green][color=darkred]
        > > > point me to some help
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        Working...