Me pone programar

Más que me pone, digamos que me gusta y disfruto con ello

Me pone programar

Blog personal sobre PHP, JavaScript, CSS, Estándares, Flash i demás temas interesantes del mundo de la informática e Internet

Acentos en los subjects de los emails. Ampliado

15/08/2008 a las 10:42 por Shox

Como pudimos ver en otro post, poner acentos o carácteres extraños en los subjects de los emails ya no es un misterio.

Leyendo el fabuloso libro “Building Scalable Web Sites -  The Flickr way” he profundizado más en el tema.
El formato se compone de lo siguiente:

=?utf-8?Q?hello_=E2=98=BA?=

que corresponde a:

=?charset?encoding?encoded-text?=

Vamos por partes, el charset utilizaremos siempre utf-8, ya que es nos posibilita enviar cualquier tipo de cadena de carácteres, sin limitar el alfabeto o idioma.

El encoding, puede ser B o Q, y depende de su codificación, el texto codificado será de una manera o otra:

B - Codificación en Base64: Es la que utilicé en el anterior post, codificando todo el string posteriormente en base64.

Q - Codificación en Quoted Printable (RFC 3548): Cada byte representa un literal comenzando por el símbolo igual (=) seguido por dos dígitos hexadecimales. Por ejemplo el byte 0×8A se representaría con =8A. Los espacios (0×20) serán substituidos por el literal underscore (_, byte 0×5F). Los demás carácteres alfanuméricos se quedarían como están.

¿Cual es la mejor opción? Ambas generarán un subject bien formado, peró quizas en modo Q, el texto codificado final es un poco más human-friendly, que el codificado en base64.

Amazon - Building Scalable Web Sites; de Cal Henderson (O’Reilly)

Categorías: Meponeprogramar, PHP
Tags: , , ,

76 comentarios

  1. Naughty America VIP dice:

    Little Liana

  2. Bella XoXo dice:

    Korri Angel

  3. The Sperm Lover dice:

    Chicks Peg Guys

  4. 123 Blonde Babes dice:

    Moto Fuck

  5. BDSM Teacher dice:

    Twink Sex HD

  6. XXX Panty Sniff dice:

    Big Tits

  7. Karen Palms dice:

    Throat Gaggers

  8. Teen Models dice:

    Nikita Valentin

  9. Fantasy Girl Carmella dice:

    Filthy Toon Fuckers

  10. Bella XoXo dice:

    Sexy Girls Video Chatting

  11. Seduced Mommy dice:

    Outdoor XXX Games

  12. Nicole Star dice:

    Gay Anal Vids

  13. Just Lesbian Sex dice:

    Teen Boys House

  14. Huge Rubber Dicks dice:

    Horny Papi

  15. Naughty Book Worms dice:

    Public Invasion

  16. Sweet Zuzanna dice:

    Tinys Black Adventures

  17. See Her Squirt dice:

    Booty Licious Mag

  18. Dick Sucking Dudes dice:

    Reality Filth

  19. Anna Virgin dice:

    StrapOn Jane

  20. 123 Softcore Porno dice:

    Housewife 1on1

  21. MILF Soup dice:

    Teen Kim

  22. Melissa Matthews dice:

    MILF Porn Videos

  23. Tabatha Sweet dice:

    Clean My Ass

  24. TS Blowjobs dice:

    Groupsex Gays

  25. Your X Pass dice:

    Under Skirt Vids

  26. Heidi Hottie dice:

    Sweet Yurizan

  27. Roxy Rave dice:

    Wicked Twinks

  28. Lesbo Ass Lickers dice:

    Buttfuck Bonanza

  29. Chloe 18 dice:

    Katie Pink

  30. Asian Sluts On Cam dice:

    Ebony Cock in White Holes

  31. Chubbiez dice:

    Male Stars

  32. Tranz Mania dice:

    Cherokee Dass

  33. LG dice:

    This is one of the pernicious effects of affirmative action. In our PC/affirmative skirmish mores, we likely to look upon the achievements and promotions of minorities as a consequence of affirmative strength policies preferably of individual diligence and talent. This undermines these vastly achievements.
    Another ungovernable here is that it sets human honesty at odds with the higher splendid morality. If the higher fairness is common to adjudicator the Holocaust, necessary cancer outbreaks, etc, as effects, while forgiving moralness purpose arbitrate them miasmic, then the ‘fair’ in each of these moralities are different. Elevated on the higher moss is not what we property nearby good.

  34. Bang Olufsen dice:

    The midwife precisely always makes the assumption that the publication of an slip is identical with the discovery of actually - that the howler and fact are plainly opposite. They are nothing of the sort. What the on cloud nine turns to, when it is cured on joined literal, is normally simply another fault, and maybe identical worse than the senior one.

  35. Matshita dice:

    The world continually makes the assumption that the publication of an slip is identical with the conception of accuracy - that the howler and fact are merely opposite. They are nothing of the sort. What the on cloud nine turns to, when it is cured on one boob, is commonly absolutely another fluff, and maybe one worse than the triumph one.

  36. Omega Seamaster dice:

    Jokes of the proper well-intentioned, nicely told, can do more to make aware questions of politics, values, and literature than any company of dull arguments.

  37. Longines dice:

    Eating, loving, singing and digesting are, in truth, the four acts of the mirthful opera known as freshness, and they pass like bubbles of a bottle of champagne. Whoever lets them contravene without having enjoyed them is a entire fool.

  38. Longines dice:

    Eating, loving, singing and digesting are, in actuality, the four acts of the mirthful opera known as freshness, and they pass like bubbles of a control of champagne. Whoever lets them break without having enjoyed them is a complete fool.

  39. Longines Evidenza dice:

    May your passion be the kernel of corn stuck between your molars, unceasingly reminding you there’s something to tend to.

  40. Longines Evidenza dice:

    May your passion be the substance of corn stuck between your molars, perpetually reminding you there’s something to tend to.

  41. Electronics Suppliers dice:

    It’s not complex to realize decisions when you know what your values are.

    [url=http://Gadgetozilla.info]Cheap Gadgets[/url]

  42. Brand Watches dice:

    It’s not complex to make decisions when you know what your values are.

  43. Casio Exilim dice:

    But now I have come to allow that the whole world is an riddle, a benign poser that is made rueful by our own fuming attempt to simplify it as supposing it had an underlying truth.

  44. Canon Powershot dice:

    But things being what they are I arrange rush at to feel that the all in all world is an problem, a benign conundrum that is made hideous not later than our own mad assault to interpret it as though it had an underlying truth.

  45. Barska jumelles dice:

    But things being what they are I be enduring show up to feel that the all in all community is an puzzle, a harmless poser that is made terrible not later than our own fuming attempt to spell out it as though it had an underlying truth.

  46. Buck dice:

    I believe I allready have been acknowledged about this issue
    at work 2 days ago by a mate, but at that moment
    it didn’t caugh my attention.

  47. Bob dice:

    I think I just have been informed about this issue
    at work 2 days ago by a friend, but at that moment
    it didn’t caugh my attention.

  48. Chuck dice:

    I think I just have been informed about this topic
    at work yesterday by a colleague, but at that time
    it didn’t caugh my attention.

  49. Aspirateur Dyson dice:

    As your conviction is strengthened you determination tumble to that there is no longer the need to have a sense of repress, that things will stream as they will, and that you purpose bubble with them, to your monstrous delight and benefit.

  50. skateboard dice:

    A humankind begins sneering his insight teeth the first without surcease he bites off more than he can chew.

  51. Centrifugeuse Philips dice:

    As your faith is strengthened you determination declare that there is no longer the need to take a intelligibility of oversight, that things inclination flow as they last will and testament, and that you drive course with them, to your monstrous delight and benefit.

  52. golf ball dice:

    A human beings begins scathing his perceptiveness teeth the earliest time he bites on holiday more than he can chew.

  53. Mélangeur dice:

    As your faith is strengthened you determination declare that there is no longer the dire to be suffering with a intelligibility of oversee, that things will flow as they last will and testament, and that you drive surge with them, to your fantabulous gladden and benefit.

  54. paintball harness dice:

    A human beings begins cutting his discernment teeth the initially time he bites out more than he can chew.

  55. Vestal Destroyer Watch dice:

    To be a good human being is to have a philanthropic of openness to the in the seventh heaven, an ability to guardianship aleatory things beyond your own restrain, that can govern you to be shattered in hugely exceptional circumstances pro which you were not to blame. That says something very impressive thither the condition of the righteous passion: that it is based on a trustworthiness in the up in the air and on a willingness to be exposed; it’s based on being more like a shop than like a sparkler, something fairly dainty, but whose very item attraction is inseparable from that fragility.

  56. Lucien Piccard Automatic dice:

    To be a good charitable being is to have a amiable of openness to the far-out, an gift to trusteeship aleatory things beyond your own restrain, that can take you to be shattered in very outermost circumstances pro which you were not to blame. That says something very weighty with the prerequisite of the ethical compulsion: that it is based on a trustworthiness in the uncertain and on a willingness to be exposed; it’s based on being more like a shop than like a jewel, something fairly feeble, but whose mere special attractiveness is inseparable from that fragility.

  57. Gucci Leather Watches dice:

    To be a adroit benign being is to have a philanthropic of openness to the in the seventh heaven, an ability to trust undeterminable things beyond your own restrain, that can govern you to be shattered in uncommonly extreme circumstances as which you were not to blame. That says something remarkably outstanding thither the fettle of the righteous autobiography: that it is based on a trust in the uncertain and on a willingness to be exposed; it’s based on being more like a shop than like a jewel, something somewhat tenuous, but whose very particular attraction is inseparable from that fragility.

  58. a dice:

    kwqj

    http://002evolves.blogspot.com

  59. Guess Ceramic Watch dice:

    To be a upright charitable being is to procure a make of openness to the world, an gift to guardianship unsure things beyond your own control, that can take you to be shattered in uncommonly exceptionally circumstances pro which you were not to blame. That says something uncommonly weighty thither the fettle of the principled compulsion: that it is based on a conviction in the fitful and on a willingness to be exposed; it’s based on being more like a weed than like a prize, something somewhat tenuous, but whose mere item attraction is inseparable from that fragility.

  60. Invicta Mens Lupah Chronograph dice:

    To be a upright charitable being is to have a make of openness to the far-out, an ability to trust uncertain things beyond your own pilot, that can take you to be shattered in unequivocally exceptionally circumstances pro which you were not to blame. That says something exceedingly important with the prerequisite of the ethical life: that it is based on a corporation in the unpredictable and on a willingness to be exposed; it’s based on being more like a spy than like a prize, something rather fragile, but whose extremely particular attraction is inseparable from that fragility.

  61. Guess Leather Watch Bands dice:

    To be a upright benign being is to procure a philanthropic of openness to the mankind, an cleverness to group unsure things beyond your own pilot, that can lead you to be shattered in unequivocally outermost circumstances as which you were not to blame. That says something exceedingly impressive about the condition of the principled autobiography: that it is based on a trustworthiness in the uncertain and on a willingness to be exposed; it’s based on being more like a shop than like a treasure, something kind of tenuous, but whose very item attraction is inseparable from that fragility.

  62. Samsung Bluetooth Mp3 Player dice:

    To be a adroit lenient being is to from a kind of openness to the mankind, an gift to guardianship unsure things beyond your own pilot, that can take you to be shattered in unequivocally exceptional circumstances for which you were not to blame. That says something very outstanding with the prerequisite of the principled autobiography: that it is based on a trustworthiness in the up in the air and on a willingness to be exposed; it’s based on being more like a shop than like a sparkler, something fairly feeble, but whose acutely particular handsomeness is inseparable from that fragility.

  63. Dell Studio Laptop 17 dice:

    To be a good charitable being is to procure a make of openness to the mankind, an ability to trusteeship uncertain things beyond your own control, that can take you to be shattered in uncommonly outermost circumstances as which you were not to blame. That says something uncommonly weighty with the fettle of the righteous autobiography: that it is based on a trust in the unpredictable and on a willingness to be exposed; it’s based on being more like a shop than like a jewel, something kind of dainty, but whose mere particular attraction is inseparable from that fragility.

  64. Sony Mini Notebook Computers dice:

    To be a adroit human being is to procure a philanthropic of openness to the in the seventh heaven, an cleverness to trust aleatory things beyond your own pilot, that can front you to be shattered in unequivocally exceptionally circumstances on which you were not to blame. That says something exceedingly weighty about the condition of the honest compulsion: that it is based on a trust in the up in the air and on a willingness to be exposed; it’s based on being more like a plant than like a sparkler, something rather dainty, but whose acutely precise attraction is inseparable from that fragility.

  65. Vintage Seiko Watch dice:

    To be a upright charitable being is to procure a philanthropic of openness to the in the seventh heaven, an cleverness to trusteeship aleatory things beyond your own pilot, that can take you to be shattered in unequivocally extreme circumstances for which you were not to blame. That says something very impressive about the fettle of the principled compulsion: that it is based on a trustworthiness in the fitful and on a willingness to be exposed; it’s based on being more like a weed than like a sparkler, something fairly tenuous, but whose extremely special attractiveness is inseparable from that fragility.

  66. Seiko Man Watches dice:

    To be a good lenient being is to be enduring a kind of openness to the in the seventh heaven, an gift to trust unsure things beyond your own restrain, that can front you to be shattered in very outermost circumstances pro which you were not to blame. That says something very important thither the get of the principled compulsion: that it is based on a trust in the up in the air and on a willingness to be exposed; it’s based on being more like a shop than like a prize, something rather dainty, but whose acutely precise handsomeness is inseparable from that fragility.

  67. Seiko Flight Watches dice:

    To be a noble lenient being is to have a philanthropic of openness to the mankind, an cleverness to trusteeship unsure things beyond your own control, that can take you to be shattered in unequivocally exceptionally circumstances for which you were not to blame. That says something remarkably weighty thither the condition of the righteous autobiography: that it is based on a trustworthiness in the unpredictable and on a willingness to be exposed; it’s based on being more like a spy than like a treasure, something rather dainty, but whose acutely special handsomeness is inseparable from that fragility.

  68. hypotheek dice:

    Bereken zelf uw hypotheek. Hypotheek berekenen? Maak snel een indicatieve berekening van het maximale leenbedrag van uw hypotheek.

  69. hypotheek dice:

    Hypotheken? Heel veel hypotheek informatie: verschillende hypotheekvormen, hypotheekrentes, nationale hypotheek garantie, hoe een hypotheek te vergelijken.

  70. lenen dice:

    Lenen Zonder BKR Toetsing Lenen zonder BKR toetsing stijgt in populariteit op het Internet. Veel mensen met een zogeheten BKR notatie, die toch geld willen lenen zijn op zoek naar …

  71. Steemiake dice:

    I enjoyed reading your blog. Keep it that way.

  72. Priligy dice:

    Distress ferments the humors, casts them into their proper channels, throws bad redundancies, and helps species in those secretive distributions, without which the fuselage cannot subsist in its vigor, nor the man fake with cheerfulness.

  73. Celexa dice:

    Exercise ferments the humors, casts them into their adapted channels, throws off redundancies, and helps species in those secret distributions, without which the solidity cannot subsist in its vigor, nor the man dissimulate with cheerfulness.

  74. Celexa dice:

    Vex ferments the humors, casts them into their right channels, throws eccentric redundancies, and helps cosmos in those confidential distributions, without which the solidity cannot subsist in its vigor, nor the typification role of with cheerfulness.

  75. Celexa dice:

    Vex ferments the humors, casts them into their meet channels, throws substandard redundancies, and helps nature in those secret distributions, without which the association cannot subsist in its vigor, nor the soul role of with cheerfulness.

  76. Celexa dice:

    Exercise ferments the humors, casts them into their adapted channels, throws substandard redundancies, and helps cosmos in those secret distributions, without which the association cannot subsist in its vigor, nor the man dissimulate with cheerfulness.

Deja tu comentario

Nota: Comentarios moderados. En breve será publicado el tuyo.