Covert mysql text into html text

Hello,
I imported an excel datasheet into my mysql database. This
all worked fine, hoeever, when the data is now pulled up for my php
website, a lot of characters show up faulty. For instance,
characters like the euro sign, ' " é ë etc etc dont show
up as they should but are shown like square boxes and stuff like
that. I understand now that i should convert these characters to
html code but doing this manually for the entire database is a lot
of work. Are there programs for MYsql that can do this? I tried to
find and replace all with some characters in my excel sheet with
the appropriate code, but this does not work because some of the
'formulas' are too long to edit (they are now memos in mysql).
Any help on this one would be great :)
Greets.

PHPMyAdmin can certainly import a CSV, but you may have to
edit it a bit
first (like putting quotes around each field's values).
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"SyKeSnr1" <[email protected]> wrote in
message
news:fc0l1t$4up$[email protected]..
>
quote:
Originally posted by:
Newsgroup User
> SyKeSnr1 wrote:
> > However a lot of other symbols like
� � � etc etc
are
> > going wrong.
>
> Just like they are in your post. The encoding for
accented characters is
> completely different in iso-8859-1 (Latin1) and UTF-8.
>
> I suspect that what is happening is that the UTF-8
characters are simply
> being exported from Excel as UTF-8 and stored in your
database as
> Latin1. That's why they are garbled. What needs to
happen is for the
> characters to be exported as Latin1, or for them to be
converted by an
> intermediary program between export from Excel and
storage in MySQL.
>
> Excel 2007 allows you to export files in CSV format in
different
> encodings. If your version of Excel offers the same
facility, export as
> CSV (comma-separated values), and use phpMyAdmin to
import the CSV file
> into MySQL.
>
> --
> David Powers, Adobe Community Expert
> Author, "The Essential Guide to Dreamweaver CS3"
(friends of ED)
> Author, "PHP Solutions" (friends of ED)
>
http://foundationphp.com/
>
>
> Is there a program you can advise that will encode my
excel sheet the
> right
> way so that i can import it as it should? My Excel does
not seem to have
> that
> function other then save as.. and then select .csv which
phpmyadmin can
> not
> import...
>
>
>

Similar Messages

  • Why can't I create a document in my Facebook group on my iPad? It won't let me input any text into the text box field after I create a new document. Thanks.

    Why can't I create a document in my Facebook group on my iPad. It won't let me input any text into the text box field after I create a new document. Thanks.

    Just thought I'd add my solution, I decided to go with WebDAV and I think it actually works better than the iTunes way, the steps are pretty much the same but avoiding the iTunes interface just makes things easier and faster.
    I followed this guide but it does have a small mistake in the httpd-dav.conf file, on line 2, where it's WebServer/WebDAV">, it should be <Directory "/Library/WebServer/WebDAV">.
    The tricky part is setting permissions which if wrong will give you errors when connecting with the iPad, I opted to set all to Read&Write since my home network has a hardware firewall. Another convenience was to add an alias to the webdav share on the Desktop.
    I'm still expecting the call from Apple but even if they fix the iTunes I'm sticking with WebDAV, atleast until I see what's new with iOS5 and iCloud this fall which should bring true sync for documents (I'm hoping that they will offer encryption with my own keys, if not, then I'll probably keep using WebDAV).

  • Copying a standard text into another text in so10

    Hello Gurus,
           I have an issue where i need to track offer letter,i have a standard text which is been automatically used in pb40 while generating offer letter and that is ww-offer-contract in which i need to change the code ( in textid palt )but it is read only document. i need to copy the text into another text.So that i can do the changes required in that.
    If i go with Utilities-->copy from client then it is allowing me to copy but not allowing me to change into it.it is giving me the dump.Since it is asking for the permission,i went for stop protection.but still it is giving me the dump.
    Any one plzz help me out with this.
    Thank you all.
    Edited by: BHAVANI MADIREDDY on Feb 12, 2008 12:34 PM

    There is a selection screen parameter
    parameters: par_bi like rfpdo1-f100buch   default ' '.
    Comment this and declare a variable and pass 'X' or space into that as per the requirement.

  • Feature Request: overflow text (threading text into another text box) as in InDesign

    I would like to see overflow text (threading text into another text box) as in InDesign

    Brilliant. Thanks for the reply. The file I'm using is the same one I've been using as a emplate for about 3 years now, but I've recently upgraded to Windows 8 and re-installed my copy of InDesign onto that, so I could have inadvertantly flicked one of these settings on during setup.
    I'll look through the properties or something and see if I can find the language settings.
    Thanks Steve, I appreciate your help. :-)

  • Most compatable file type to use when copying and pasting specially formatted text into html pages?

    Hello,
      I have a simple web site at http://www.psychicmeatloaf.com which is an online poetry journal site. I use files people send me (mostly .doc or .docx) and cut and paste the text from those files into html pages in an older version of Dreamweaver and some of the text has special formatting (like this page: http://www.psychicmeatloaf.com/Chang-poetry.htm ). The best way I have found to maintain the special text formatting is to open the .docx files and "save as a web page" in Word and then open the web page from Dreamweaver and then "Preview the page" in Explorer and copy and paste from the preview into an html page in Dreamveaver. Even using this method, some text will not maintain it's special formatting and for those I just save the page as a .jpg file and use that, because I have no other choice.
      My question is, is there a better way and is there a better file type to work from other than .docx?
    Thanks a milliom,
    George

    neophyte weaver wrote:
    The best way I have found to maintain the special text formatting is to open the .docx files and "save as a web page" in Word and then open the web page from Dreamweaver and then "Preview the page" in Explorer and copy and paste from the preview into an html page in Dreamveaver.
    That's a lot of steps to get to a single end that could be done with a simple copy & paste of the text into code. Like Photoshop and Fireworks, Word writes some very bulky and dirty code. I wouldn't recommend it for direct copy by the method described above.
    I personally copy the text and paste it into code view. It takes a little more work, but I don't get dozens of lines of inline styles added with it and using a preformatted post div (saved and hidden in the code (<!--post block code goes inside-->), I can quickly put title, date, byline and links up with a cut & paste.
    That's just my $0.02 worth
    Also, since nearly EVERYONE will use a different formatting in a Word doc, putting a bunch of differently formatted posts into a page will make it look like one of those ransom notes made of cut out text from different newspapers and magazines.  Better to keep everything in a single format (your format) so it doesn't become an eyesore.
    Message was edited by: Curtis_E_Flush

  • How to convert plain text into html?

    Hi
    I'm looking for a nice method which converts any plain text to html. For example, text: "Me and you\nand a dog named boo."Conversion result should be:
    <html>
    <body>
    Me and you<br>
    and a dog named boo.
    </body>
    </html>I know, I could write such a code myself using regex. But I just wonder whether something like this already exists in the java api?
    Greetings from Switzerland
    Mickey

    Use a StringReader to read the lines and add the lines between <html><pre> ... </pre></html>

  • Dynamic text box, HTML Text with Image

    Hello Everyone,
    I am using Flash version 8. I have used the text tool and
    created a dynamic text box and have attached the UIScrollBar
    component to it. This text box is configured to allow the use of
    html text to be inputted to it. I have code that reads a file which
    contains a list of text files that I then read and place them into
    the text box. The user can use the scroll bar to scroll through all
    the text.
    I have created an image that is a picture of the tab portion
    of a file folder. On the tab I have place some text. This was all
    done in Photoshop. This tab image is used to separate the different
    stories in the text box. The image is save as a jpeg file
    Everything you have just read works with out any problems.
    Now for the problem!
    This image is only 20 pixels tall and the text is not very
    readable. As we all know the HTML tags are very limited in Flash 8.
    Ideally I would like to put the text and image in to the text
    box as I would normally do. Then place text on top of the image and
    have it all scroll properly with in the text box.
    I have taken the tab image and converted it in to a graph
    symbol and then put the text on top of the image. This looks good;
    however I don’t know how (or if it is even possible) to place
    the graphic symbol in to the text box at the correct place within
    the text.
    Does anyone have ideas on what may work? Remember that the
    image I am working with is only 20 pixels tall which is why the
    text quality on the image is so poor.
    Thank you all for any help you may provide,
    Steve

    Yes Tim I am using the <img> tag and I know that I
    can’t place text over the image. I have set the height and
    width to be the exact size of the image. However When you go to the
    webpage it will open the movie to the maximum size based on the
    resolution of your display; however I do maintain the aspect ratio
    of the movie. For testing I did set a fix size to the size of the
    movie. Sometimes the fix size (1000x750) looks better and sometimes
    a larger size (example 1280x1024). I believe that the main problem
    is the fact the size of the image is 670 pixels wide by 25 pixels
    high and of the 25 pixels the text is only 18 pixels tall. In
    Photoshop this makes it about a 1.75 point font. As you can see the
    real problem is that I don’t have enough pixels to make up
    the text. This is why I am looking for an alterative way to create
    the text.
    I tried importing the image into flash as a graphic symbol
    and then using the text tool to create the text. The results looked
    real sharp, the text was nice and crisp (just what I wanted). The
    problem is that I could not find a way to place the graphic symbol
    into the dynamic text area like id did using the <img> tag.
    This symbol needs to scroll as you scroll the text in the text
    area.
    This is why I am asking for help. I am looking for some ideas
    that may work.
    Thank you,
    Steve

  • How load text into dynamic text boxes from external file?

    hi all,
    my animation is very simple - a background image and 2 text boxes.  one of the textboxes shows a large word, which crossfades to another word, with a total of about 12 words (showing one at a time in different text boxes fading in & out in the same spot).
    i need a way to have the text be imported dynamically via xml or json (xml preferred).  this article is a good start, but i noticed he's putting all of the text into one box - i need separate strings put into separate boxes from the xml.
    Chris Gannon - Loading XML via AJAX into Adobe Edge
    he uses
    var outputField = $(this.lookupSelector(“xmlOutput”));
    for his text box.  what would be the best way to revise this code to include all my individual strings to be loaded into my individual text boxes?  thinking an array might work, but my js skills are limited.
    any other suggestions or tutorials you could point me to would be appreciated.
    thanks!!

    thanks joel_pau !
    this is helpful in seeing how the array is created, but after giving it a go I became a little confused.
    i wound up trying it again based on the example i linked out to previously, but it's not adding the text from my xml file when previewing.
    here's the code i'm using in edge animate on my stage.  something must be wrong somewhere.  let me know if you have any suggestions on this.
    // insert code to be run when the composition is fully loaded here
    // here i'm assigning a variable to each one of my textboxes at they're named in my edge animate comp
    var outputField1 = $(this.lookupSelector("helps2"));
    var outputField2 = $(this.lookupSelector("communicate"));
    var outputField3 = $(this.lookupSelector("experience"));
    var outputField4 = $(this.lookupSelector("interact"));
    var outputField5 = $(this.lookupSelector("understand"));
    var outputField6 = $(this.lookupSelector("overcome"));
    var outputField7 = $(this.lookupSelector("flourish"));
    var outputField8 = $(this.lookupSelector("collab"));
    var outputField9 = $(this.lookupSelector("trust"));
    var outputField10 = $(this.lookupSelector("grow"));
    var outputField11 = $(this.lookupSelector("engage"));
    var outputField12 = $(this.lookupSelector("survive"));
    var outputField13 = $(this.lookupSelector("thrive"));
    var outputField14 = $(this.lookupSelector("evolve"));
    var outputField15 = $(this.lookupSelector("connect"));
    var outputField16 = $(this.lookupSelector("achieve"));
    $.ajax({   
        type: "GET",
        url: "myxmlfile.xml",
        dataType: "xml",
        success: function(xml) {
    //here i'm trying to load the the text in my xml file into my textboxes in edge animate.  'txt1, txt2, txt3' are the tags in my xml file
            outputField1 = $(xml).find('txt1').text();
            outputField2 = $(xml).find('txt2').text();
            outputField3 = $(xml).find('txt3').text();
            outputField4 = $(xml).find('txt4').text();
            outputField5 = $(xml).find('txt5').text();
            outputField6 = $(xml).find('txt6').text();
            outputField7 = $(xml).find('txt7').text();
            outputField8 = $(xml).find('txt8').text();
            outputField9 = $(xml).find('txt9').text();
            outputField10 = $(xml).find('txt10').text();
            outputField11 = $(xml).find('txt11').text();
            outputField12 = $(xml).find('txt12').text();
            outputField13 = $(xml).find('txt13').text();
            outputField14 = $(xml).find('txt14').text();
            outputField15 = $(xml).find('txt15').text();
            outputField16 = $(xml).find('txt16').text();
    but nothing happens on preview.  my textboxes still contain the original text that lives in my comp.

  • Try to mix plain text with HTML text in mail forms

    Hi,
    I'm working with CRM 2005, and I want to build a mail form with Multi-Mime text type, but with a "html text" block and a "plain text" block in first page. I can do it but when I access to my mail form via PCUI a error occurs telling me that the mail form is defined improperly.
    Thanks a lot,
    Nuno Moreira

    Hi Nuno,
    if the mail is sent correctly and it is only a display problem in PC-UI I would suggest that you open a OSS message to ask SAP to solve this problem.
    Regards
    Gregor

  • Cannot paste text into a text layer in Photoshop

    Since a couple of days ago I cannot paste text into a photoshop text layer from any other source, like safari, word etc.
    I get an "popup error"-window in swedish (my language) saying something like "Could not complete the paste text command because the clipboard data was invalid or missing."
    Anyone having the same issue? Or maybe a fix on the problem? Of course i've tried restarting photoshop and also the computer. Running Mac OS X Yosemite and the latest Photoshop CC 2014.

    Well I can't paste any text into any DW document, file, blank, page name, nothing
    The paste command does not work in DW
    I have deleted corrupted cache
    I have tried Restore Preferences
    Nothing allows me to paste text in any format from any file format period.

  • Error when pasting 1K of text into a text area of tabular form

    This appears to be a bug to me, put please offer suggestions if you have them....
    Using apex with XE, I have created a table with two varchar2(4000) columns in them. The user will paste large blocks of text into one or both of them (e.g paste text copied from e-mail).
    I created a tabular form and set the two fileds to display as "text area". Insert and/or update works fine unless I paste more than about 1 to 1.5 kbytes of text into one of these fileds, in which case I get a page not found error with the following URL:
    http://127.0.0.1:8080/apex/wwv_flow.accept
    After the error page displays, I can hit the back button and then remove just enough text to get it to under the 1 to 1.5 kbytes and then either insert or update works fine.
    One more bit of info. If I create a single row form then it works fine, it is only the multi-row tabular form that seems to have this issue.

    I don't think the character set is the problem. I used a string of numbers 0123456789 and just copied and pasted it repeatedly to build up the text. The database character set is WE8MSWIN1252.
    Regarding the apache log. I have to admit that I don't even know if I'm running apache. I am using a newly installed Oracle XE on a laptop in order to get some experience with application express. This app is the first one I've done. If someone will direct me to the log then I'll be glad to check it and post the relevent contents.
    I signed up for an apex workspace and intend to see if I can recreate the error from there so I can see if the problem is just in the free version of apex that comes with the Oracle Express Edition for windows database.

  • Defaulting Standard Text into Vendor Text

    Hello,
    We have been asked if we can add functionality similar to the S010 standard texts in R/3, so that a SRM user can select from a list of standard texts. The text would default into the Vendor Text on the Shopping Cart, the user would be able to amend the text if required.
    Does anyone know if this is achievable? I assume it would have to be done via a BADI?
    Thank you.
    Kind Regards,
    Jackie Jones

    Hello Jackie,
    Use text schema to achieve your request: you can define fixed values for texts.
    In SRM 7.0 release, it is in IMG:
    SAP Implementation Guide > SAP Supplier Relationship Management > SRM Server > Cross-Application Basic Settings > Text Schema
    I think path is the same for lower releases.
    If you use fixed values, this means vendor text coming from your catalog has to make part of your fixed values.
    Regards.
    Laurent.

  • Is there a software for InDesign that will translate my english text into spanish text

    I have InDesign files in English text. Is there a software that will translate text into Spanish?
    Thanks,
    Sharon

    It's well worth paying someone who knows both languages well to do the translating.
    With software translation, at best, you get a rough translation. At worst, (especially when you can't read the language you are translating to), you could get something like this:

  • Copy Header texte into Item text, trasactions FB60-FB50-FB70

    Hi,
    using the transactions FB50, FB60 and FB70 I need to copy automatically the Header text into the Items text.
    Can someone tell me how to do that?
    Thank you and best regards,
    Giorgia

    In the enjoy transaction like FB60-FB50-FB70, header and line items fields are quite mixed up. When you are mentioning Header text, please confirm that you meant "Header text" field in the "Details" tab screen and not the "Text" field in the basic data tab screen.
    Normally when you want to copy the "text" field content in the Basic Data screen to all the G/L line items text fields, you do it through "editing option" in the FB60-FB50-FB70 transaction screen itself. Here in the General entry options you activate the check box "Copy text for GL account enter".
    But if you want to copy really the header text in the Details screen to Vendor and Gl items for example, then you have to create substitution rule
    Thanks
    Ranjit

  • Export Text into Infotype text cluster

    Hi,
    I am trying to insert some text into the infotype text (Edit -> Maintain Text) for infotype 40 programmatically.
    I have written the sample code below but the text is not inserted into the infotype. Can someone advise me what could be wrong with the code ?
    Many thanks in advance.
    Regards
    KC
    =============================================
    REPORT ZTEXTO .
    TABLES : PERNR, PCL1, pcl2.
    INFOTYPES : 0040.
    INCLUDE RPPPXD00.
    DATA : BEGIN OF COMMON PART BUFFER.
           INCLUDE RPPPXD10.
    DATA : END OF COMMON PART BUFFER.
    INCLUDE RPC1TX00.
    GET PERNR.
       LOOP AT P0040.
         MOVE-CORRESPONDING P0040 TO TX-KEY.
         REFRESH PTEXT.
         PTEXT-LINE = 'THIS IS A TRAIL INSERT INSERT INTO INFOTYPE TEXT'.
         APPEND PTEXT.
         RP-EXP-C1-TX.
       ENDLOOP.
       PERFORM PREPARE_UPDATE USING 'V'.
    BUFFER ADMINISTRATION ROUTINE.
    INCLUDE RPPPXM00.

    Hi,
    I have this same issue.  I have the infotype field ITEXT is set to 'X'.  I am trying to update the record in infotype 0672.  I am using the following code, it executes well. But it is not updating the infotype with the text.
    REPORT  zven_insert_text_infotpe                .
    TABLES : pernr, pcl1, pcl2.
    INFOTYPES : 0672.
    Data: gs_0672 TYPE STANDARD TABLE of pskey with header line.
    INCLUDE rpppxd00.
    DATA : BEGIN OF COMMON PART buffer.
    INCLUDE rpppxd10.
    DATA : END OF COMMON PART buffer.
    INCLUDE rpc1tx00.
    gs_0672-pernr = '00010053'.
    gs_0672-infty = '0672'.
    gs_0672-subty = '0001'.
    gs_0672-endda = '04042005'.
    gs_0672-begda = '04042005'.
    append gs_0672.
    clear  gs_0672.
    *GET pernr.
      LOOP AT gs_0672.
        MOVE-CORRESPONDING gs_0672 TO tx-key.
        REFRESH ptext.
        ptext-line = 'THIS IS A TRAIL INSERT INSERT INTO INFOTYPE TEXT'.
        APPEND ptext.
        rp-exp-c1-tx.
      ENDLOOP.
      perform prepare_update using 'V'.
      include RPPPXM00.
    Please let me know ASAP.
    Appreciate.
    Thanks.
    vgoy

Maybe you are looking for

  • Sort Album by name in PSE11

    Hello, i'm a hobby sports photographer. I shot lots of fast series. After an import into organizer pics with same time stamp are arranged in random order so the series get mangled. It is no fun to bring back the correct sequence by hand for hundereds

  • Very slow download for movie rental

    Last nite (Valentine's!) my honey and I decided to watch our first movie with AppleTV. We chose the HD version of Ratatouille. I expected it to be about 10-20 minutes before we could start watching the movie (as the rest of it would download while we

  • Automatic import me

    How do I desacti've automatic import media?

  • Time conversion at Query Level

    Can anyone suggest any methods to convert the time from UTC time zone to PST time zone at Query level without changing at backend level???

  • Library of character motion

    I've a simple question (I hope) I'm trying to create a simple character controlled via an ActionScript 3.0 application. Using Flash 9 Public Alpha it's possible to define a movieclip with a series of motion of a character (like "walking", "running",