Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

thanks for the help guys, I think i've kind of hacked this one ;) here's what i've done.

This is actually PHP, I did it on the front end, rather than at the point of loading into the database.

$trans = array( "" => "À", "" => "à", "" => "Á", "" => "á", "" => "Ã", "" => "Ì", "" => "ì", "" => "Í", "" => "í", "" => "Î", "" => "î", "" => "Ò", "" => "ò", "" => "Ó", "" => "ó", "" => "Ô", "" => "ô", "" => "é", "" => "è", "" => "È", "" => "Ù", "" => "ù", "" => "Ú", "" => "ú", "" => "Û", "" => "û", "" => "", "" => "" ); $name = strtr($row["name"], $trans2);

I'm off to the pub now to think about it a bit more ;)


In reply to Re^4: Removing Foreign Characters by existem
in thread Removing Foreign Characters by existem

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [Corion]: marto: How's things? I hope the kids are fine and you too!
    [Corion]: Oh yay. I wonder why a very simple change in a program doesn't elicit a diff, and now I see that my diff program seems to have a bug ;)
    [1nickt]: marto thanks for asking, so far so good. A pretty modern stack and decent procedures, although rather too much home-built stuff (e.g. a logging role that should tries to duplicate Log::Any).
    [Corion]: No. It's just that I'm comparing the same output file twice, instead of comparing the output files of the two runs %-)
    [Corion]: Lo and behold, running a program with the correct input files yields the correct (and expected) output. Yay me.
    [1nickt]: Got a MacBook and am expected to develop directly on it, ironic given the recent thread about that.
    [marto]: Corion, some not too serious issues with the kids, hopefully, other than that just dealing with commuting by car again in the winter, not much fun so far, and there's no real 'bad' weather yet :)
    [marto]: 1nickt, glad to hear it, I'm sure you'll bring improvements to their stack in due course ;)
    [1nickt]: Just trying to adjust to a new culture. Better doc than I am used to , but quite a bit more Agiley meta-bullshit; at least half a dozen meetings a week, strict "sprint" schedule etc. I'll adjust. And I hope to just switch off after the "scrum" each day at

    How do I use this? | Other CB clients
    Other Users?
    Others surveying the Monastery: (8)
    As of 2017-12-11 11:41 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      What programming language do you hate the most?




















      Results (289 votes). Check out past polls.

      Notices?