ShuDudu's Home was started in 2011, but the web data is lost, so now begin again, I would like to make some friends, I hope you like ShuDudu's home.
Current position: ShuDudu > Net Web >

UTF-8, HTTPS original is unreal, to talk about new phones

Monday on February 17th, 2020Net Web

About UTF-8.

Under certain circumstances, I need to sign in Gmail, Adsense inclusion number of pages, check website, and now the only way to be able to log in with only Linux VPS host remotely using VNC remote desktop connection, because from the beginning of this year 1723 ports in the country blocked, self-built Granville PN have all failed, XP system is unable to use SS.

The problem is that at this time, the English version of CentOS system + Firefox browser, access to all the UTF-8 pages, if there are Chinese characters are still garbled, garbled the following screenshot. (The Linux version of Firefox can modify codes for the Chinese, but after modifying the browser will crash completely.)

In the past, we all know that UTF-8 is an international coding theory, even if the system, the browser is no corresponding coding installation, but also show the character of the normal countries. Before I spent almost six or seven years of the English version of XP system, remember that the system does not install additional Chinese package, comes with the English version of IE6, can browse normal web page of UTF-8. Seen the emergence of this problem is the Linux version of Firefox browser bug.

Because of this bug appears, then the English version of foreign, non-Chinese version of the phone comes with a browser, mobile phone or other browsers installed, visit utf-8 Chinese website, whether it is also possible to display garbled? It is possible.

This example illustrates UTF-8 is not a true international universal coding.

Over the years, I have been among utf-8 gb2312 and fight, because in the database, Chinese or full-width characters utf-8 takes up three characters, gb2312 (or gbk, are encoded ANSI 936) occupies two characters. Theoretically, high concurrency, the efficiency GB2312 1.X ~ 1.5 times of utf-8. And with reason at the time to give up gb2312 utf-8, but because others are using utf-8, utf-8 seems to look more professional look, nothing works in the program.

Now in a new web project, while English, Chinese, and is a potential traffic type, I tried using utf-8 and gb2312 simultaneously. Using $ aa = iconv ( 'UTF-8', 'GB2312 // IGNORE', $ aa); This function automatically converts each of the two coding. Users see the page, the English version will automatically become utf-8, the Chinese version automatically becomes gb2312 or gbk.

About HTTPS.

As previously written, HTTP/HTTPS new password programs to prevent leaks, HTML can be submitted before a user password, similar to JavaScript md5 encrypted by the password, or preferably own encoding rule, the user inputs the A input of the plaintext password >must be placed form>/form>addition, this will not be intercepted because it does not send. A JavaScript password encrypted with document.all.password.value = '......'; copied in such a manner to form>/form>in a hidden input>, then the server encrypted password accordingly reduction.

Because the encryption rule only developers know, even if the encrypted data is intercepted, unfortunately, the reverse is also never be restored. After once encryption has not been restored.

This program has been in my program was completed, I had 3-5 times the encryption in the program.

With this encryption, HTTP and HTTPS to achieve the same security features. There are the obvious way is still unsafe HTTPS: Web-enabled HTTPS, but the database is still recorded plaintext password.

Seen, HTTP HTTPS different in terms of safety, mainly lies in the different data sent by the user. The server is to store passwords in plain text or encrypted passwords, nothing to do with HTTP, HTTPS, depending on the site is safe programming.

So, now in unsafe not imagine HTTP, HTTPS is not imaginary security. HTTPS server will lose some performance. In addition, HTTPS little free, install Linux system "comes" directly on the host's SSL, or there will be a security warning when users visit. Paid version of SSL, the price is far more than the site's own domain name, host. The network vigorously SSL, SSL is not a vendor doing push hands?

Of course, not to say that the use of these products is not good, there are a lot of people really need these. Want to say here is that if these products have not, still can without any impact on the operation. Like everyone else with utf-8, we also have to keep up with the trend only; others are using https, but also with their own it will not lag behind; others are using iPhone, we also have to use it will not lag behind, and so on.

I remember in 2005, 2006, when, ASP is my main development language, I also put a lot of effort into developing ASP. Department of Computer friend was only because of this, but to say I'm an outsider, then forced into a JSP. Later, however, finding the best web language is PHP, it is more than ASP, JSP syntax are easy to read.

Suitable own, is the best.

By the way iPhone and Android versions high.

If you are an industry designers, application developers, using the iPhone, I respect you because of technical personnel is the most rational consumers. iPhone popular in the past few years, there are several important reasons, one good photo effects (almost home and professional Canon cameras the same effect), the second is smooth, three is pretty cool (high price effect), Fourth around people are using. But the disadvantage, one closed system, the second is the price too high.

A few days ago someone asked, and now the same price, is to buy iPhone 6s, or Huawei P20? iPhone 6s two or three years ago, Apple released the most high-end phones, today's performance is equivalent to the domestic Andrews thousand Yuan models. So, of course, Huawei P20 price higher than the iPhone 6s. Huawei P20 I have not used, have not tried it photographic effect, but OPPO A59S (with my family, true eight-core) a few years ago the iPhone camera effects and essentially the same. Huawei P20 configuration parameters higher than the OPPO A59S.

And professional home Canon camera, 2003 Canon's most high-end is the A60, A80, priced at 2,000 yuan, 3000 yuan, and now more than A60, A80 configure a much higher new Canon camera, the price of 400 to 1,000 yuan Model abound. In order to facilitate wireless transmission, digital cameras and Android systems integration is an inevitable trend, like Samsung GC100, Samsung WB50F, S800c is the product of several years ago, but the effect of making them are on all iPhone models, they many expensive than the Canon, but Canon and similar results, just more than a Android.

Andrews camera via Bluetooth, or ES File Manager (Andrews 2.3 system may run or more) wireless transmission of the file. Because this decade, the existing digital camera to transfer photos via data lines, has become seriously lagging behind, and gradually become unscientific, because life is very limited data port, many digital cameras will charge a plug cable, there is some damage to the lithium battery. Therefore, the wireless transmission should be fully implemented as soon as possible in digital cameras.

This year is lowering the price of the phone of the year. 3 + 32,4 + 64 model configurations, prices in the first two years of more than 1500,1900 yuan, and now 6XX ~ 9XX can buy. Such a cell phone, if their photographic effect good, then already sufficient. If the photographic effect is not good, Andrews matched with a digital camera, the full realization of the Apple phone's functions.

High version of the Andrew

Now in the sale of mobile phone, if it is a stock of goods two years ago, the minimum is 5.1 Andrews, the new Android phones are 6, 8 of Andrews. If you are installing micro-letters, Alipay and other common APP, these Android versions do not feel much difference, Andrews 4.3, 4.4, and even the same, but the interface becomes cool a little. Changes in the system, most people use less.

Starting Android 4.3, Android 4.4, fluency has indeed been a lot of upgrading.

But if you are demanding for the Root, then the current final version is Android 4.4 or Android 5.1. Android 6.0, has been unable to Root. For users accustomed to Root the phone, use these higher versions of Android phone, you need a process of adaptation. Unable to Root, the phone will be possible to enhance the security of some, but less functional.

Root For only the software to run, you must choose an Android 4.4 phone. Android 5.1 as well as some models can Root, Root restart after some models, the software will automatically delete Root.

The reason why manufacturers ban Root, may be in order to reduce failure rates. But for users who need Root, causing great inconvenience. The most basic, Root Explorer and other file management software, operating system files can not be, can not replace the/system/media built-in ringtone file.

Phone capacity, general applications, micro-channel, Alipay, Taobao, 1 + 8G currently is adequate, let alone configure 32,4 + 3 + 64. Many people tangled buy 32G, 64G, or 128G, 256G of the iPhone? Phone is not used to store large amounts of data, because the phone may be lost, the phone's flash memory will be bad at any time. Practical applications, the phone's flash memory may be much lower than mechanical hard life, and therefore the need for timely data moved to the phone's hard drive to back up important data to do the double.

Android mobile phone brand, and now more people with Huawei, OPPO, VIVO, etc., for shape, grade, cool demand, the election of these no problem, fewer people now seem to use Samsung mobile phones, and Samsung may be due to the previous year Note mobile phone battery explosion. (Affected by this incident, and since then, the world of TF, SSD flash memory have doubled, now more than two years just to fall when the price)

But there are sensible people, will choose a good niche brand, and those selling their brand is actually a lot of the same, or even better with a cheap price by more than half. Not recommended ZTE, Cool, because there are multiple models, even now newer models will steal texting.

I like Hisense phone, the family has a refrigerator units HiSense nine years, did not expect Hisense phone is rare for domestic conscience, mainly because it most models can triple bond strong brush machine, comes with calls firewall, used the Internet absolutely useful, the only drawback is that some of the models photographed worse. Android 4.4 the previous Hisense phone is useful, but since Android 5.1 is no advantage, because the Brush Pack, after the volume of Android 5.1 to 1.7G, machine becomes really easy to brush brick.

High version of the Android phones, because the Brush package is too big, Brush risky. Less than 800M Brush Pack, can be safe Brush.

Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/netweb/UTF-8-HTTPS-original-is-unreal-to-talk-about-new-phones.htm