retrieve a row of data from mysql database

Hello

I extract data from a database.  Use of then in a Web page as <? php echo $row ['product'];? >

However, if there is an apostrophe in 'product', he displays like a diamond with a question mark.

Data stored in the database looks like this, 'pearls of Mary. "

Is the problem when I have the data stored in the database or when it was recovered?

Thanks, Dan

This happens usually if you paste from another application like Word or Xpress directly in the database.

To work around the problem:

If you are still using the old mysql extension insert the line below before any other query mysql on your page:

mysql_query("SET NAMES UTF8");

If you uisng the new mysqli extension then use the variable of connection string (in this case $conn) as below:

$conn-> query ("SET NAMES UTF8");

Tags: Dreamweaver

Similar Questions

  • How to read in data from MySQL to Authorware?

    Hello

    I'm reading in my authorware (MySQL) database values, but the best I can do is either true or false.
    I would like to be able to get data from the database and return to AW as a string. Does anyone have experience with this? If anyone can lend a hand in this company?

    Thanks in advance for your help,

    Brad

    You'll need some sort of middleware of script, such as PHP or your ASP.
    script will need to:

    * connect to the database
    * query the database
    print the query results

    I use ReadURL to send variables AW to my PHP script, script recovers
    These values and assigns the variables used in the query. Print
    results are returned to the ReadURL. You can also use PostURL.

    In AW, my code for retrieving information from the database looks like this:

    ==================
    Action: = '? action = getData.
    query: = '& student_data_id =' ^ student_data_id
    URLString: = db_loc ^ 'retrieve_data.php' ^ action ^ query
    queryString: = ReadURL (URLString)
    ==================

    I Specifies an action so that the script can contain code for more than one
    the purpose of the trip. My PHP script looks now like the return line (the spirit):

    ==================

    include a script not cached
    include (' lib/no_cache.php');

    connect to the database
    require_once ($_SERVER ['DOCUMENT_ROOT'].)
    '/.. (/ php_secure_scripts/check21/mysql_connect.php');

    create empty var for the holding of output to send to the Authorware
    $output = NULL;

    define queries
    If ((isset($_GET['action'])) & ($_GET ['action'] == 'login')) {/ / set}
    connection request
    $salt = get_salt();
    $query = "SELECT student_id, first_name, last_name, INST_ID select OF.
    students WHERE username = ' {$_GET ['username']} "AND
    password = ENCODE ("{$_GET ['password']}', '$salt'");

    } else if ((isset($_GET['action'])) & ($_GET ['action'] == 'getUserInfo'))
    {/ / set getUserInfo}
    $query = "SELECT inst_name, e-mail, student_data_id, active COURSES."
    LEFT JOIN students student_data USING (course_id) LEFT JOIN to HELP
    (student_id) Using (select INST_ID) WHERE LEFT JOIN institutions
    students.student_id = {$_GET ['sid']} AND courses.sku = {$_GET ['SKU']} ";

    } else if ((isset($_GET['action'])) & ($_GET ['action'] == 'getData')) {}
    query Set getData
    $query = "SELECT course_data, quality, increased FROM student_data WHERE."
    student_data_id = {$_GET ['student_data_id']} ";

    } else {}
    Exit();
    ECHO '.

    No selected query.

    ";
    }

    query the database
    $result = @mysql_query ($query);

    $row = mysql_fetch_array ($result, MYSQL_ASSOC);

    foreach ($row as $key-online $value) {}
    $output = $output. "&" . $key. "=" . $value;
    }

    print $output;

    Close the database
    mysql_close();
    ?>
    ==================

    The returned data is saved in my AW variable called 'queryString' which
    I then analyze in AW. My database connection code is kept in a separate script
    in a location on the server that is not available for browsers. The script
    also contains a custom function that returns a "germ" for the password
    encoding.

    If you need a good book to learn PHP & MySQL, I recommend 'PHP and MySQL '.
    for dynamic Web Sites"by Larry Ullman.
    http://www.Amazon.com/GP/product/0321336577/SR=1-1/QID=1144427020/ref=pd_bbs_1/103-2954060-1860665? % 5Fencoding = UTF8 & s = books

    I hope this gets you on your way!

    --
    _______________________

    Paul Swanson
    Portland, Oregon, United States
    _______________________

    "bradsteele" wrote in message
    News:e161n1$o76$1@forums. Macromedia.com...
    > Hi,.
    >
    > I'm reading in my authorware (MySQL) database values, but
    the
    > I am able to get better is true or false.
    > I would like to be able to get data from the database and return
    for AW

    > string. Does anyone have experience with this? If anyone can lend
    one
    > hand in this company?
    >
    > Thank you in advance for your help.
    >
    > Brad
    >

  • migration of data from mysql to sql server

    Hi all

    I would like to import the database MySQL in SQL Server 2008 and export MySQL database into a ".sql" file to import data in SQL Server.

    Whenever I try to import data from MySQL, I get the error attached like a screenshot below.

    Please let me know what can be done and how can I import data with all the tables in the order.

    Kind regards

    Shiva

    Please check this answer of the dev, unfortunately migration of Foglight backend database between different types of databases only is not supported

    http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-administrators/f/4788/t/19559675.aspx#78924

    There are solutions to help you get the same types of a Foglight backend databases

    https://support.quest.com/SolutionDetail.aspx?ID=SOL42249

    Golan

  • copy data from one database to another

    Hello

    I want to copy data from one database to another.

    I have two patterns such as

    dev1/dev@ORCL
    DEV2/dev@DCEL


    I have same tables dev1 and dev2 (tables)
    but I have not given in dev2 (tables).
    now, I want to copy dev1 (tables) in dev2 (tables).

    You can also use the database link:

    select * from dev1.emp@orcl;
    

    What database are you connected to?
    You must create and use the links in the database for all other databases.

    For example if you are connected to the database A and to retrieve data from database B, you must create a connection of database in base B

    create database link B connect to  identified by  using 'B';
    

    Then you can retrieve data from database B with

    select * from [yourschema.]yourtable@B;
    

    This will work only for tables that are visible to the user that you used in the definition of database link.

    Published by: hm on 10.08.2011 22:15

  • Error in retrieving over 1,000 records from mysql

    I'm trying to extract data from a database of MySQL via PHP for a Flex application. When there are more than 1,000 records in the result set, the ResultEvent is returned. When I limit to 1,000 records, no problem at all. Any ideas? Code below:

    public void OldCustomerService (method:String = HTTPRequestMessage.POST_METHOD, resultFormat:String = RESULT_FORMAT_E4X, showBusyCursor:Boolean = true)
    {
    Super (null, null);
    this.requestTimeout = 0;
    This.Method = method;
    this.resultFormat = resultFormat;
    this.showBusyCursor = showBusyCursor;

    }

    public function getAllProspects (): void {}
    This.URL = ALL_PROSPECTS_URL;
    this.addEventListener (ResultEvent.RESULT, getAllProspectSuccess);
    this.addEventListener (FaultEvent.FAULT, DAOUtil.communicationError);

    var oldCustomersToken:AsyncToken = this.send ();
    }

    What is contained in the ResultEvent? You don't have a message in there?

    If you get a ResultEvent I would bet on a mistake caused by Php or MySql instead of Flex itself.

  • Display data from the database in a table

    Hello

    How to display data from my database in an ADF table using a backing bean? I created an arraylist in the bean, but only the last row of my query is displayed in the table...

    Thank you...

    Hello

    Create a simple Java class that implements Serializable. Create attributes that represent each column in your table. This class represents on the row of your table. A list of these objects, and you can fill your af:table.

    Visit this link below for an example.
    Re: Is it possible to create a static array of ADF and the tree?

    Kind regards
    Amélie Chan

  • Can I import data from a database in a FrameMaker using ExtendScript document?

    I want to import the part of database information in a structured document in FrameMaker (XML). The document would be an illustrated parts catalog, built by merging the text in the document structured with Bill of material stored in a database and graphic files. ExtendScript for this, or do I have to study a different language for this programmatic approach to the construction of a document?

    There is no direct way to connect to a database with FrameMaker ExtendScript. It is possible to write code C++ to interact with scripts, so you could write some kind of connector in C++ that would work with ExtendScript. ExtendScript can work with XML files, then another solution is to export the data from the database in XML format and ExtendScript allows you to analyze and import it into FrameMaker.

    I'd take a serious look at FrameScript. FrameScript has built-in ODBC support, you can connect directly to your database and use SQL queries to get your data into FrameMaker. There also ActiveX is supported, so you can use ADODB technology to get data from your database. I did the import of the database in a bunch of my scripts over the years. Please let me know if you have any questions or comments. -Rick

  • How to get data from a database table and insert into a file

    Hello
    I'm new to soa, I want to create an xml with the data from database tables, I'll have the xsd please suggest me how to get the data in the tables and insert in a file
    concerning

    in your bpel process, you can use the db adapter to communicate with the database.
    with this type of adapter, you can use stored procedures, selects, etc to get the data from your database into your bpel workflow.

    When did it call in your bpel to the db adapter process it will return an output_variable with the contents of your table data, represented in a style of xml form.

    After that, you can use the second card (a file synchronization adapter) to write to the content of this variable in output to the file system

  • Export data from the database Table in the CSV file with OWB mapping

    Hello

    is it possible to export data from a database table in a CSV with an owb mapping. I think that it should be possible, but I didn't yet. Then someone can give me some tips how to handle this? Someone has a good article on the internet or a book where such a problem is described.

    Thank you

    Greetings Daniel

    Hi Daniel,.

    But how do I set the variable data file names in the mapping?

    Look at this article on blog OWB
    http://blogs.Oracle.com/warehousebuilder/2007/07/dynamically_generating_target.html

    Kind regards
    Oleg

  • Insert data in mysql database

    Hello world

    I searched all over the internet for solutions to my problems, but it is not easy to find good explanations of how things work with databases.

    So, here's the situation:

    I had a (built with LC designer 8.0) form with a button of HTTPsubmit linked to a php script which would address all communications to my mySQL database. Everything works very well for that.

    now, I have a second form and wanted to do the same. But on this new form, I have a few paintings repeated data with the same name (each row has the same nodes), and the HTTP POST method will give me only one of the data. I could change the name of each node to make it unique, but 1. It takes some time and 2. It is not a very clean solution

    So, I tried to set up the famous "DataConnection" I've tried to avoid in the first instance. I've successfully installed mySQL ODBC connector and communication between the form and the database is perfectly fine. But I understand that, in the 'method' of DataConnection each field of the form corresponds to a field in the database. While I would like to insert a new section of mySQL for each line of my paintings.

    This is where I am stuck. I thought of two methods:

    1. I am a newbie with DataConnection so maybe there's a way to do what I want, but I don't know. Ideally, I guess something like this: "OK, there is good communication with the mySQL database. When I click on the "submit" button, move forward with javascript code that collects information from the form and gives a request for INSERTION in the mySQLdatabase; "and that for each row in the table. Collection of information is no problem, but how should I handle these multiple query "INSERT"?

    2. perhaps, it is also a way to change the submit button, so that the data is sent to a php server side or a js script, but instead of having urlencoded method or the HTTP POST method, send the code over XML data and the script will deal with it. In fact, I know that this change is possible; but I have no idea on how to manage the data from the form, if this isn't HTTP POST (or GET). If I choose a shipment to a php script, and I send XML or XDP, what is sent to the script?

    Well, thank you in advance if I finally find a solution!

    tguiot.

    OK nevermind, I found the solution with an appropriate method. Here is the link where I found what I needed: http://blogs.adobe.com/formbuilder/2006/12/databases_ins_upd_del.html

    That's exactly what I planned to do, but it is indeed a more advanced manipulation of the database connection object. Here's the idea:

    • create a DataConnection to your database, using the standard method (in my case, using the mySQL ODBC connector)
    • create a copy of the DataConnection object and clean it (to remove all unnecessary nodes)
    • Change the value of the
    • Run the SQL with the method 'Open'

    in the link provided, you will find the pdf file to open it with livecycle designer. There is a "Database" variable which contains the functions, and the code is commented pretty precisely.

    All I now need to do is navigate in my table and execute an insert sql for each line.

    So good to finally have a solution!

    Thanks anyway for your help pguerett.

  • Loading data from MySQL in ListComponent-help!

    Hello world

    Complete newbie to this forum, but I heard that you are the best for help and advice, so here I am!

    So I have a MySQL database and a Flash Document with a list item. I need to import (parts) of records to fill my List component.

    For starters, I don't know what language I use - I was thinking about PHP?

    Anyway, I searched the net for help and found none, where the post. Here is the code I have:

    AS3:

    var options: XML = new XML();

    options.ignoreWhitespace = true;

    var loader2:URLLoader = new URLLoader (new URLRequest ("http://localhost/list_1.xml"));

    {loader2.addEventListener ("Complete", Function (Event)}

    options = new XML (loader.data);

    var options.brand = product;

    for (var I produced) {;}

    home_holder. AddItem ({label: product [i] .name});

    }

    });

    PHP:

    <? PHP



    $link = mysql_connect ("localhost: 3306", "root", "");

    @mysql_select_db ("test");



    $query = "SELECT * LIMITED STOCK 1';"

    $results = mysql_query ($query);



    While ($line = {mysql_fetch_array ($results))}

    echo $line ["Brand"];

    echo $line ['Style'];

    echo $line ['store name'];

    echo $line ['Image'];

    }



    mysql_close ($Link);


    ? >

    (Please note: the php file returns correct results, if I run it in my browser)

    I also had a go at an XML version:

    <? PHP

    Header ("Content-type: text/xml");

    $host = "localhost";

    $user = 'root ';

    $pass = "";

    $database = "test";

    $linkID = mysql_connect ($host, $user, $pass) or die ("cannot connect to the host.");

    @mysql_select_db ($database, $linkID) or die ("cannot find database.");

    $query = "SELECT * STOCK ORDER BY stock_ID DESC";

    $resultID = mysql_query ($query, $linkID) or die ("no data found.");

    $xml_output = ' <? XML version=\"1.0\"? " "> \n";

    $xml_output. = "< entries > \n";

    for ($x = 0; $x < mysql_num_rows ($resultID); $x ++) {}

    $row = mysql_fetch_assoc ($resultID);

    $xml_output. = '\t < entry > \n ";

    $xml_output. = "\t\t < text >". $row ['style']. "< / text > \n";

    $xml_output. = "\t\t < text >". $row ["info"]. "< / text > \n";

    $xml_output. = "\t < / entry > \n";

    }

    $xml_output. = "< / entry > ';

    echo $xml_output;

    ? >

    Please send me some tips! Even if you suggest a completely different way to reach loading MySQL records into the list!

    Thank you very much

    Vicky

    It is not really clear where a problem from what you say in your ad and you seem to be looking for guidance. But even in this case you seem to have an understanding of what you need to do.  If you have a handle on using PHP to interact with the database, and you intend to use XML as the data streams in Flash, then you want PHP to use the data in xml format.  Using this approach is common.

    If you have a problem, understand how to deal with parsing the xml, you have to use Google for a tutorial using search terms such as "AS3 XML tutorial.

    When you arrive to the filling of the list item, the help documents should help you determine what property (dataProvider) or (addItem) method you can use to do it and what data structure is required in both cases.

    If/when you have an issue specific to obtaining the actionscript by working, then mail it with the corresponding code.

  • Issue in economy/recovery of TEXT RICH in/from MySQL database

    Hello

    I am not able to save rich text (htm tag) to the database. When I save the text content rich in textfield to database, it is saved in plain text format, but not as rich text.

    When I select in the table. I'm getting Plain text but not rich.

    This could be a variable incompatibility. I traced a content rich text field to a column of type text variable. Please let me know what I do to store rich text mapped to the database.

    following commands I used...

    CREATE TABLE fordEformTC4

    (

    eformName VARCHAR (25),

    Fr1Value TEXT,

    Fr2Value TEXT,

    Fr3Value TEXT

    );

    I'm putting below the content of the column Fr1Value

    <? XML version = "1.0" encoding = "UTF-8" ?>

    - < TextField1 type of =" text " >

    - < body xmlns =" http://www.w3.org/1999/xhtml " >

    - < p style = " margin-top:0pt;margin-bottom:0pt;text-valign:middle;text-align:justify;font-family:'Myriad Pro'; do-size: 10pt; make-weight: bold; text-decoration: no " " >

    Problem

    < span style = » police-weight: normal""">to store the text in the database< /span>

    </p>

    </body>

    < / TextField1 >

    When I retrieve the XML from the database, I see clear...

    <? XML version = "1.0" encoding = "UTF-8"? >

    < form1 >

    < Page > 1

    < TextField1 type = "text" > problem by storing the text in the database < / TextField1 >

    < / TextField1 >

    < / Page1 >

    < / form1 >

    Please let me know what the problem is. What mistake I make in my design.

    Concerning

    Sunil


    I used the function serialize() and Deserialize () in the activity of Misc setValue to save and retrieve data xhtml from adobe to db.

    It has worked well.

    Concerning

    Sunil

  • How can I transfer data from the database in a variable (or array)?

    I made my request according to the example (http://corlan.org/2009/06/12/working-in-flash-builder-4-with-flex-and-php/). Everything works fine. I changed a single function to query the database - add two parameters and get the value from the table to a string format. A test operation shows that everything is ok. If I want to display this value in the text box, I just do drag and drop off service to this element in Design view

    (< s:TextArea = "153" x = "435" id = "nameText" text = "{getDataMeanResult.lastResult [0] .name}" width = "296" height = "89" / > ").

    Also, it works fine, just a warning and encouraged to use ArrayCollection.getItemAt ().

    Now, I want to send the value to a variable or an array, but in both cases, I get an error: TypeError: Error #1010: a term is undefined and has no property..

    How can I pass a value to the database in a variable? Thank you.

    public var nameTemp:String;

    getDataMeanResult.token = authors.getDataMean (arrayOfNumber [0], dir_id);

    nameTemp = getDataMeanResult.lastResult [0] .name;

    public var nameArray:Array = new Array();

    for (var i: uint = o; i < 3; i ++) {}

    getDataMeanResult.token = authors.getDataMean (arrayOfNumber [i], dir_id);

    NomTableau [i] = getDataMeanResult.lastResult [0] .name;

    }

    And how do I use syntax highlighting in this forum?

    Astraport2012 wrote:

    Thank you.

    Then this simple question: How can I place a mySQL database data in a variable using the wizards FB4 (connect with PHP)?

    If you can show examples please.

    I couldn't find examples. Send data to a field text or DataGrid - much, but no variable.

    the use of assistants? not sure... it is generally a bad idea to rely on them, because they will never fully what you want anyway. I would recommend learning abit of PHP and manage by yourself, because it allows you to manage everything exactly as you wish.

    small example of communicating with a database using PHP + FB4:

    mount a database

    write you a small script that will access your database, get a value, for example:

    ";
    
        while($row = mysql_fetch_array($result))
        {
            if($row['messageID'] == "3")
            {
                print $row['message'];
            }
        }
        print "\n";
    ?>
    

    This will get the message with ID '3 '.

    make an HTTPService in FB4 app to call this Script, as follows:

    
    
        
            
    
            
        
    
        
            
        
        
    
    
    

    and the value must be picked up by the Script and properly stored in a variable

  • How to create views of data from different databases tables in2

    Using Oracle 10.2 g

    I have 2 databases Gus and the haggis on schema Comqdhb.

    Glink indicates a link of database between Haggis and Gus

    In Gus, there is school that contains columns with same name upn, grade, subject, student of tables...

    STUDENT
    UPN
    academicYear

    Object

    Object

    GRADE
    examlevel
    grade

    SCHOOL
    SN

    In HAGGIS raising tables, grade, teacher containing columns upn... desc below.

    STUDENT
    UPN

    GRADE
    grade
    UPN
    academicyear
    level



    Create views in your database HAGGIS who join their all the qualities of the review. You should have a point of view that will produce the following relationship:
    examGrade (upn, subject, examlevel, sn, rank, academicYear)

    So I need to create a view that gets the data from the tables in the databases.

    create view as examGrade (upn, subject, examlevel, sn, rank, academicYear) like some s.upn


    But I don't get the selection of a column of 2 tables in different databases

    I mean if I said

    Select the UPN in comqdhb.student@glink,comqdhb.student;
    Select the upn name in comqdhb.student@glink,comqdhb.student
    *
    ERROR on line 1:
    ORA-00918: column ambiguously defined

    Help me, thank you.

    Hello

    Rider wrote:
    The issue is that I can't understand that I should create the view by the union of the haggis and the two gus data or only haggis.
    the reason I believe I need to combine the two is mentioned * "" create views in your database schema HAGGIS who join their all the qualities of the review. ". *
    By the mention of creating views and who join their all the qualities of the review, it probably means to obtain the data of the GUS and HAGGIS.

    This is my interpretation of the assignment, too.
    If you ask just the tables on Gus, you will get the ranks of three of the four schools: it's not all examination classes.
    If you ask just the tables on Haggis, you will get the ranks of any of the four schools: it's not all examination classes.

    2nd prob is that if have decided to create a view that gets the data from these two gus and therer haggis would be a lot of duplication involved due to the cross product

    Why would there be "repetition involved due to the cross-product"?
    If the quuery of Gus produces 100 lines, the request of product Haggis 30 rows, then the UNION of the two will have 100 + 30 = 130 lines (assuming, as you say, each student is at school only one).

    the query I wrote is

    Create view examGrade (upn, subject, examlevel, sn, rank, academicYear)
    as
    Select distinct s.upn as upn, g.subject as topic,
    g."LEVEL" as examlevel, g.grade as rank, to_number (g.academicyear) as academicyear
    of s comqdhb.student, comqdhb.grade g
    s.UPN, sb.subject, g.elevel, g.grade, s.acyr select Union
    of comqdhb.subject@glink sb,comqdhb.student@glink s,comqdhb.gradevalues@glink g;

    You should not write, not to mention not formatted zip code. I have a little time I can devote to answering questions in the forum. Do you want me
    b spend this time formatting your code, so I can understand the question, and no time to answer, or
    b spend only a little time reading understanding your code and spend most of my time to help you?
    I would prefer (b), but the choice is yours.
    See the statement that I posted in my last post for an example of the formatted code. You see how it appears in a box with a police fixed-width, and multiple spaces are printed? This is because I typed {code} (all small letters), before and after the section I wanted formatted.

    At least put each table in the FROM clause on a separate line, so it is easy to know if you have enough join conditions.
    If you have N tables in the FROM clause, you almost always have at least N-1 join conditions that specify how the tables are linked together. For example, if talk you about two tables, quality and student, you expect to see a join condition that tells you when you have data in a table, how to find related data in the other table, such as

    g_gus.upn = s_gus.upn
    

    No no no join conditions will cause "repetition involved due to the cross product.

    I downloaded my info here
    http://www.upload4free.com/download.php?file=44201983-School_ExamGrades.PDF


    http://www.upload4free.com/download.php?file=184648736-ExamGrades_Case_Study_2008FINAL.PDF

    Sorry, if there is data as long as you can't post here, there is much too much for me to read.
    Make a sample set, containing a few (maybe five) students and a few shades of each student. It is fine to copy a few lines of your actual data.

    That's all the time I have for today. I can't wait to get the data and formatted requests.

  • Insertion and extraction of data from a database by USING SQL Developer al32UTF8

    Hi guys,.

    Before I post my questions, I think it's better for me to give you guys my first understandings so that it is easier to understand where / if I have gone wrong...

    I use Windows XP and Oracle 10 g
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Non-unicode client - a client program that needs to use the code page of the operating system for the mapping of unicode data retrieved from the database as well as the support to display/insert characters from the code page to the database.
    For example sqlplusw.exe

    Therefore, when you use a non-unicode client

    (1) we define the code page of the OS (Control Panel - regional and language of the parameter - advance - the language for non-unicode programs) to the code page that contain the characters that we will view/insert.

    (2) we also defined the NLS_LANG characterset on the character set of code page, that we'll insert so that when we do an insert (for example in thai), oracle will and automatic conversion to Unicode can take place. This is also true when recover us the database unicode data so that the correct character set conversion can take place.

    INSERTION OF
    THAI->-> UNICODE conversion

    RECOVERY OF
    THAI <-conversion <-UNICODE

    I hope that my basic understanding is correct up to this point.
    ---------------------------------------------------------------------------------------------------------------

    Unicode client - a client program that supports display/inserting unicode characters without the need to set the code page of the operating system (Control Panel - regional and language setting - control - language for non-unicode programs advance)
    For example isqlplus http or SQL Developer

    However,.

    (1) there are still set the NLS_LANG so that the correct conversion can take place between the client and the database.
    For example, when the recovery if we set NLS_LANG value ZHS16GBK (Chinese) character and store data in Unicode in the database is for example (THAI), then the conversion would be a mistake.
    It's a supported unicode client, then the NLS_LANG character set should be set to UNICODE as well.

    ---------------------------------------------------------------------------------------------------------------------------

    Those are my questions
    * Important - please help if you're busy and don't have the time to answer the remaining questions

    (* Q1) if I had to use a unicode client, what should I put my character NLS_LANG set?
    AMERICAN_AMERICA. UTF8?

    (* T2) where can I put the NLS_LANG information of character in SQL Developer, I know there is a metalink for setting NLS_LANG using isqlplus but I cant seem to google each led for SQL developer.

    Q3) is my basic understanding of up to this point? If no, please explain in a term more widespread that I'm really not familiar with character sets code page, unicode and fonts, glyphs...

    A unicode client (Q4) didn't need to refer to the OS codepage (regional and language updates), y at - it a code page UNICODE for the customer to refer to, or is there an available window API?

    Q5)
    , there are still set the NLS_LANG so that the correct conversion can take place between the customer and the > > database.
    For example, when recovery if we set NLS_LANG value ZHS16GBK (Chinese) character and the data store in > > unicode in the database is for example (THAI), then the conversion would be erroneous.
    I'm just on this point for customer UNICODE supported?
    --------------------------------------------------------------------------------------------------------------------------

    Thank you for spending the time to read my questions and I hope to hear soon tips from you guys.
    Million thanks again for sharing.

    Best regards
    Noob, but eager to learn

    The requirement to always set NLS_LANG is not true for JDBC, which ignores the NLS_LANG altogether. Java programs extract the textual data in string variables, which uses Unicode UTF-16 by design. JDBC defines the conversion of character sets so that data is converted between UTF - 16 and the database or the national character set.

    The obligation to set NLS_LANG is not generally true for the OIC, either. The first call to a problem of the BEAK may be OCIEnvNlsCreate(). This call has two parameters that allow the caller to set the character set to use for the text of VARCHAR2/TANK/LONG/CLOB/statement and the character set to be used for NCHAR/NVARCHAR2/NCLOB. Only if these character sets is specified as 0, character set NLS_LANG is used. Also, the OIC programs can specify different character for each binding sets or set the variable (i.e. the buffer input/output). Note: The OIC programs always use NLS_LANG to initialize the language settings and the territory for the client program and the database session. Only the character set can be specified is OCIEnvNlsCreate().

    OCIEnvNlsCreate() can specify the client character set to UTF-16 (platform boutien) format. This is not possible with NLS_LANG.

    Various interfaces based on the BEAK, such as ODBC Oracle and .NET for the ODP, explicitly initialize OCI with character set Unicode and therefore ignore the NLS_LANG character set as well.

    Thnx,
    Sergiusz

Maybe you are looking for

  • Plugin Shockwave Flash 16.0.0.296 requires the update

    But it returns me to this page https://blocklist.addons.mozilla.org/en-US/firefox/blocked/p178 I tried to use the form in the Page check but who hold with the circle of rotation.It is not anyway to update the plugin. Also tried a reset of Firefox

  • Missing buttons from the bottom of the sidebar in Mail

    On my iMac, by post, the button "+" at the bottom of the sidebar (used to create new mailboxes) disappeared.  The other buttons (which I don't remember functions) there also are no longer present.  While I can always create a new mailbox by using the

  • Chromebook Acer 15 power cords... where to find them?

    I have a question: I bought two Acer Chromebook of 15 models and wonder if the power cords and cables to each of them can be used for both of them. In other words if a power cord is damaged, it will be the power cord for another model for both models

  • Upgrading CPU for Pavilion dv6

    HP Pavilion dv6 3131-SO identical to XD560EA #UUW Win7 64-bit, SP1 I couldn't give a sense of the possible processors for this model. Currently running AMD Athlon II P340 bicoeur, but want to update that. Made of electronic soldering before so this i

  • XP will not load some .exe files! and much more

    I accidentally deleting a file in the registry