[ 
https://issues.apache.org/jira/browse/HIVE-16558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ZhangBing Lin updated HIVE-16558:
---------------------------------
    Description: 
In QueryProfileImpl.jamon,We see the following settings:
<?xml version="1.0" encoding="UTF-8" ?>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>HiveServer2</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">

    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/bootstrap-theme.min.css" rel="stylesheet">
    <link href="/static/css/hive.css" rel="stylesheet">
  </head>
So we should set the response code to utf-8, which can avoid Chinese garbled or 
other languages garbled,Please check it!


  was:
In QueryProfileImpl.jamon,We see the following settings:
<?xml version="1.0" encoding="UTF-8" ?>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>HiveServer2</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">

    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/bootstrap-theme.min.css" rel="stylesheet">
    <link href="/static/css/hive.css" rel="stylesheet">
  </head>
So we should set the response code to utf-8, which can avoid Chinese garbled or 
other languages,Please check it!



> In the hiveserver2.jsp Closed Queries table under the data click Drilldown 
> Link view details, the Chinese show garbled
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-16558
>                 URL: https://issues.apache.org/jira/browse/HIVE-16558
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: ZhangBing Lin
>            Assignee: ZhangBing Lin
>             Fix For: 3.0.0
>
>         Attachments: HIVE-16558.1.patch
>
>
> In QueryProfileImpl.jamon,We see the following settings:
> <?xml version="1.0" encoding="UTF-8" ?>
> <html lang="en">
>   <head>
>     <meta charset="utf-8">
>     <title>HiveServer2</title>
>     <meta name="viewport" content="width=device-width, initial-scale=1.0">
>     <meta name="description" content="">
>     <link href="/static/css/bootstrap.min.css" rel="stylesheet">
>     <link href="/static/css/bootstrap-theme.min.css" rel="stylesheet">
>     <link href="/static/css/hive.css" rel="stylesheet">
>   </head>
> So we should set the response code to utf-8, which can avoid Chinese garbled 
> or other languages garbled,Please check it!



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to