WEBVTT 00:01.060 --> 00:03.100 Welcome in his lecture. 00:03.130 --> 00:09.370 You're going to learn about bitts runes and strings in greater detail, by the way, to understand this 00:09.370 --> 00:10.190 lecture better. 00:10.300 --> 00:16.720 I recommend you get to know the basics of how Unicode UTF eight encoding and code point work. 00:17.350 --> 00:21.910 So before starting this lecture, you might want to check out the links in the previous article. 00:22.800 --> 00:24.810 All right, if you're ready, let's get started. 00:25.920 --> 00:32.250 Here is an example, string value, first of all, let me tell you that a street value is a service 00:32.250 --> 00:33.400 of white values. 00:33.870 --> 00:38.250 This means that you can represent a street value as a white slice. 00:38.520 --> 00:47.250 So, for example, H can be represented with one hundred and four, E with one hundred and one and Y 00:47.430 --> 00:49.460 with one hundred twenty one. 00:49.740 --> 00:56.880 So you can convert a street value to about slice or vice versa because a street value is a slice and 00:56.880 --> 00:59.690 a wide slice can be encoded to a street value. 01:00.030 --> 01:05.190 So they are interchangeable convertible between each other instead of a number. 01:05.200 --> 01:08.940 You can also represent a character using a room literal like so. 01:09.570 --> 01:14.270 After all, numbers and room literals are the same thing as you can see. 01:14.400 --> 01:20.340 Simply put, a Unicode code point is a number that can represent a character engo. 01:20.490 --> 01:24.350 Instead of saying code points, we simply say runes. 01:24.510 --> 01:30.390 So in go a room can represent a Unicode code point or a simple character. 01:31.040 --> 01:37.410 A rule literal is a timeless integer, literal, so irungu literal can be of any integer type, like 01:37.410 --> 01:42.920 a white room in 64 and so on, because it's a type less constant. 01:43.680 --> 01:51.390 However, not that the room concept room type and room literal are different things we call code points 01:51.390 --> 01:53.810 as rules and it's just a concept. 01:54.060 --> 02:01.170 However, in practice we use room literals and integer types such as bytes and rules to represent the 02:01.170 --> 02:01.830 characters. 02:02.280 --> 02:06.610 So Aroon is a code point that is represented by an integer value. 02:06.990 --> 02:10.200 Let's quickly talk about some number system basics. 02:10.410 --> 02:13.740 Then I'm going to show you how to build a character set program. 02:14.100 --> 02:19.290 OK, one hundred and four is a decimal number, so its base is ten. 02:19.500 --> 02:21.930 It's the most popular numeric system. 02:21.930 --> 02:23.060 We use it everyday. 02:23.400 --> 02:30.810 However, computers work with binary data, so rules can also be represented using other numbers systems. 02:31.110 --> 02:34.740 For example, this is what the same room looks like in binary. 02:35.520 --> 02:39.600 These zeros and ones are equal to one hundred and four. 02:40.080 --> 02:44.460 This binary number is just a different representation of one hundred and four. 02:45.060 --> 02:50.790 When a number starts with the zero B prefix, Go thinks that it's a binary number. 02:51.480 --> 02:53.610 This is a new binary literal notation. 02:53.610 --> 02:58.560 By the way, you can only use this if you are using go 113 anĂ­bal. 02:59.250 --> 03:06.660 OK, hexadecimal means sixteen, so each hex digits can represent a number between zero and fifteen. 03:07.200 --> 03:13.800 With hexadecimal numbers, it becomes much easier to represent larger code points with fewer digits. 03:14.130 --> 03:19.740 When a number starts with the zero X prefix, Go thinks that it's hexadecimal number. 03:20.250 --> 03:25.530 So six to eight in hexadecimal is equal to one hundred and four in decimal. 03:26.160 --> 03:30.060 Now we know how to represent the rules in different numeric systems. 03:30.480 --> 03:33.120 This will become important when working with them. 03:33.150 --> 03:33.750 All right. 03:33.750 --> 03:34.590 That's all for now. 03:34.590 --> 03:35.950 See in the next lecture by.